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
Task Type Feature Request
Category System
Status Closed
Assigned To dorphell (dorphell)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
Comment by dorphell (dorphell) - Wednesday, 18 January 2006, 00:59 GMT
I can see how that would be somewhat practical but hdparm isn't a daemon and doesn't belong in rc.d.

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.

Loading...