lkml.org 
[lkml]   [2013]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] floppy: Correct documentation of driver options when used as a module.
From: Ben Harris <bjh21@cam.ac.uk>

The options have to be passed space-separated and prefixed by "floppy=",
rather than separately and unprefixed.

This fixes <http://bugs.debian.org/726655>.

Signed-off-by: Ben Harris <bjh21@cam.ac.uk>
---
This patch is against Linux 3.12-rc5.

--- linux-3.12-rc5/Documentation/blockdev/floppy.txt.orig 2013-10-13 23:41:28.000000000 +0100
+++ linux-3.12-rc5/Documentation/blockdev/floppy.txt 2013-10-18 21:03:27.000000000 +0100
@@ -39,15 +39,15 @@ Module configuration options
============================

If you use the floppy driver as a module, use the following syntax:
-modprobe floppy <options>
+modprobe floppy floppy="<options>"

Example:
- modprobe floppy omnibook messages
+ modprobe floppy floppy="omnibook messages"

If you need certain options enabled every time you load the floppy driver,
you can put:

- options floppy omnibook messages
+ options floppy floppy="omnibook messages"

in a configuration file in /etc/modprobe.d/.

--
Ben Harris, University of Cambridge Computing Service.

\
 
 \ /
  Last update: 2013-10-18 23:21    [W:0.032 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site