Re: disable sleep mode hdd usb
On Tuesday 17 August 2010 09:16:51 Markus wrote:
> 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".
Does hdparm understand uuid's ?
The original poster doesn't mention the verson of Debian, Squeeze uses uuid's,
and if you are using external usb devices, uuid's are a great way to make
sure the same file system gets mounted appropriately each time.
--
Peace,
Greg
Reply to: