lkml.org 
[lkml]   [1999]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Modular IDE. How to pass options to the modules?
Date
On Mon, 13 Dec 1999 17:06:50 +0200 (EET), 
Sergey Kubushin <ksi@ksi-linux.com> wrote:
>Can someone enlighten me how can I do the same when using the a.m. IDE
>modules zoo? The "option=hda=17662,16,63" (btw, which module have I to pass
>it to?) when used with ide-mod gives the following:
>
>=== Cut ===
>[root@nomad block]# insmod ide-mod options="hda=17662,16,63"
>./ide-mod.o: too many values for options (max 1)
>=== Cut ===

ide-mod is the correct module. The full syntax is

insmod ide-mod options=\"hda=17662,16,63\"

or

insmod ide-mod 'options="hda=17662,16,63"'

Without the back slash or single quotes, the shell strips out the
string quotes. When the string quotes are stripped out, insmod treats
the embedded commas as multiple parameters instead of a single string.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.305 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site