Bug#494660: Last argument in harddisks-variable in /etc/default/hdparm is always ignored

2008-08-11 Thread Arno van Amersfoort

Package: hdparm
Version: 8.9-1

I've setup several SATA disks in /etc/default/hdparm like this:


harddisks=/dev/sda /dev/sdb /dev/sdc /dev/sdd
hdparm_opts=-W0 -S60


But the last harddisks-argument is always ignored. I tried removing sdd, 
but then sdc gets ignored and so on. When I configure them in 
/etc/hdparm.conf, then it does work.




--
Ing. A.C.J. van Amersfoort (Arno)
Department Of Electronics (ELD, k1007)
Huygens Laboratory
Leiden University
P.O. Box 9504
Niels Bohrweg 2
2333 CA Leiden
The Netherlands

Phone : +31-(0)71-527.1894   Fax: +31-(0)71-527.5819
E-mail: [EMAIL PROTECTED]

Arno's (Linux firewall) homepage: http://rocky.eld.leidenuniv.nl















--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#494660: Last argument in harddisks-variable in /etc/default/hdparm is always ignored

2008-08-11 Thread Stephen Gran
This one time, at band camp, Arno van Amersfoort said:
 I've setup several SATA disks in /etc/default/hdparm like this:
 
 
 harddisks=/dev/sda /dev/sdb /dev/sdc /dev/sdd
 hdparm_opts=-W0 -S60
 
 
 But the last harddisks-argument is always ignored. I tried removing sdd, 
 but then sdc gets ignored and so on. When I configure them in 
 /etc/hdparm.conf, then it does work.

Can you send me the output of `sh -x /etc/init.d/hdparm start` ?

I can't see why it would fail, and I've had no other repotrs of this for
years, so I don't see why it would fail like this.

Thanks,
-- 
 -
|   ,''`.Stephen Gran |
|  : :' :[EMAIL PROTECTED] |
|  `. `'Debian user, admin, and developer |
|`- http://www.debian.org |
 -


signature.asc
Description: Digital signature


Bug#494660: Last argument in harddisks-variable in /etc/default/hdparm is always ignored

2008-08-11 Thread Arno van Amersfoort

Now I (suddenly) see what's happing:

+(525 /etc/default)# /etc/init.d/hdparm 
start 
([EMAIL PROTECTED])

Setting parameters of disc: setting standby to 60 (5 minutes)
/dev/sda  setting standby to 60 (5 minutes)
/dev/sdb .


The lines setting standby to are screwed up / the lines containing 
/dev/sda en /dev/sdb are not the same (although their settings are). So 
hdparm does apply the setting but the output of the init script is 
incorrect, are at least misleading




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#494660: Last argument in harddisks-variable in /etc/default/hdparm is always ignored

2008-08-11 Thread Stephen Gran
retitle 494660 hdparm: hdparm output messes up init script formatting
severity 494660 wishlist
thanks
This one time, at band camp, Arno van Amersfoort said:
 Now I (suddenly) see what's happing:
 
 +(525 /etc/default)# /etc/init.d/hdparm 
 start 
 ([EMAIL PROTECTED])
 Setting parameters of disc: setting standby to 60 (5 minutes)
 /dev/sda  setting standby to 60 (5 minutes)
 /dev/sdb .
 
 
 The lines setting standby to are screwed up / the lines containing 
 /dev/sda en /dev/sdb are not the same (although their settings are). So 
 hdparm does apply the setting but the output of the init script is 
 incorrect, are at least misleading

Ah, that makes more sense.  I have thought about swallowing the output
from hdparm somehow to make the formatting nicer, but so far it hasn't
been worth the effort to also report problems when they happen.  Sorry
this is annoying, I'll see what i can do.

Cheers,
-- 
 -
|   ,''`.Stephen Gran |
|  : :' :[EMAIL PROTECTED] |
|  `. `'Debian user, admin, and developer |
|`- http://www.debian.org |
 -


signature.asc
Description: Digital signature