[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: disable sleep mode hdd usb



Camaleón wrote:
On Tue, 17 Aug 2010 11:26:30 +0200, Tabano wrote:

I want disable the sleep mode in my external hdd usb forever when start
Debian.

hdparm/sdparm may help.
But some manufacturers disallow this management on the user side.

Greetings,

Put this line:

hdparm -B 255 /dev/sdX

in your /etc/rc.local file where X is the corresponding letter for your usb hdd. For getting this to work, your usb hdd has to be pluged in the usb-port during boot up.
And you have to ensure that it always has the same "X".


Reply to: