Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I understand that the answer to this is probably some basic script using:
hdparm -y /dev/hda
However, I don't know where/how to put it to get the result I'm looking for.
I dual-boot to WinXP verrrry rarely. The only partitions on /dev/hda are NTFS for WinXP and I NEVER access them in Linux. However, when the system boots, it spins up and stays powered. Now the kernel checks for it at boot, examines it, and then I never use it again. I would like part of the boot sequence to automatically spin it down. The drive does not support sleep, but it does support standby (is there really a difference?). On the fly I can issue the above hdparm command to do what i need.