There is no stub for "RC_DOWN_HARDDISK" in /etc/rc.conf. When I was wondering why my external harddisks didn't spin down on shutdown, I digged through baselayout, and came from "halt.sh" to "shutdown.sh" where I eventually found the variable "RC_DOWN_HARDDISK". To make it easier for users to find and understand the variable "RC_DOWN_HARDDISK" I propose to add a stub with description to /etc/rc.conf. Best regards Renne Reproducible: Always Steps to Reproduce: Use external disk with power supply not switched by your main machine. Actual Results: External disk will keep running after shutdown. Expected Results: After adding RC_DOWN_HARDDISK="yes" to /etc/rc.conf harddisks spin down correctly on shutdown.
That feature is specific to sysvinit and does not belong in OpenRC.
(In reply to comment #0) > There is no stub for "RC_DOWN_HARDDISK" in /etc/rc.conf. > When I was wondering why my external harddisks didn't spin down on shutdown, I > digged through baselayout, and came from "halt.sh" to "shutdown.sh" where I > eventually found the variable "RC_DOWN_HARDDISK". > To make it easier for users to find and understand the variable > "RC_DOWN_HARDDISK" I propose to add a stub with description to /etc/rc.conf. > Best regards > Renne > Reproducible: Always > Steps to Reproduce: > Use external disk with power supply not switched by your main machine. > Actual Results: > External disk will keep running after shutdown. > Expected Results: > After adding RC_DOWN_HARDDISK="yes" to /etc/rc.conf harddisks spin down > correctly on shutdown. Renne, can you post your emerge --info so that we can see which version of baselayout/sysvinit you are using? Thanks, William
Looking over the latest versions of inittab, I found that we give the command to spin down hard drives when we shut down. Please re-open this bug after you have upgraded to the latest sysvinit if this is still an issue. Thanks much, William