FS#3790 - "Daemonize" hdparm (rc.d)
Attached to Project:
Arch Linux
Opened by Christopher Thorjussen (Joffer) - Sunday, 15 January 2006, 23:18 GMT
Last edited by arjan timmerman (blaasvis) - Monday, 16 January 2006, 18:25 GMT
Opened by Christopher Thorjussen (Joffer) - Sunday, 15 January 2006, 23:18 GMT
Last edited by arjan timmerman (blaasvis) - Monday, 16 January 2006, 18:25 GMT
|
Details
I would like to see two files added to the hdparm
packages:
/etc/conf.d/hdparm /etc/rc.d/hdparm /etc/conf.d/hdparm would be the config file storing all the options for the different devices, something like this: hda_args="-c1 -d1 -u1 -m16 -a1 -X69" hdc_args="-c1 -d1 -u1 -X64" /etc/rc.d/hdparm would be the name used to add to the DAEMON line in rc.conf. This way the hdparm settings would be applied at bootup, and we would have a unified and simple way to set it, instead of somebody telling us to use rc.local, while others tells us to change rc.sysinit. |
This task depends upon
Closed by dorphell (dorphell)
Tuesday, 21 February 2006, 03:56 GMT
Reason for closing: Won't implement
Additional comments about closing: see comment
Tuesday, 21 February 2006, 03:56 GMT
Reason for closing: Won't implement
Additional comments about closing: see comment
Daemons are programs that stay open, not change a parameter and die. Yes, we have a few of "daemons" in rc.d that don't follow this principle but I still try to apply this principle
Sorry but I'm gonna have to pass on this. Stick it in rc.local, that's what it's there for.