On Tue, 5 Mar 2002 at 4:13pm (-0600), derek m wickersham wrote:

[...]
> 
> There were two extra settings I added: -X66 and -u1.  So my EXTRA_PARAMS
> looks like this:
> EXTRA_PARAMS=-X66 -u1
> 
> When I reboot, rc.sysinint processes my harddiskhda and harddiskhdc just
> fine up until the EXTRA_PARAMS.  When it gets there, it will read in the
> first value (-X66) but it is apparently passing the second value (-u1).
> In /var/log/messages I see some griping about not knowing what to do
> with the -u1.
> 
> Well, I'd like to use -u1 and I'd like to go by the book and use the
> /etc/sysconfig/harddisks files, so I need to know how to get this to work.   
> I think I could just put "hdparm -u1 blah" in my rc.local but that
> wouldn't be as much fun.
> 

This is setting a shell variable.. so if you want to have more than one 
'word' in there you need to put it in quotes.  So...

$ EXTRA_PARAMS=-X66 -u1
bash: -u1: command not found
$ echo $EXTRA_PARAMS

$ EXTRA_PARAMS="-X66 -u1"
$ echo $EXTRA_PARAMS
-X66 -u1
$ 

... so use the version with "s in your config file...

> Also, does anyone know if hdparm's "-k" option is implied when I use
> /etc/sysconfig/harddisks?
> 

*shurg*

M.

-- 
WebCentral Pty Ltd           Australia's #1 Internet Web Hosting Company
Level 1, 96 Lytton Road.           Network Operations - Systems Engineer
PO Box 4169, East Brisbane.                       phone: +61 7 3249 2500
Queensland, Australia.                            pgp key id: 0x900E515F



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to