RE: disable sleep mode hdd usb
----Original Message----
From: pabi@gci.net [mailto:pabi@gci.net] On Behalf Of Greg Madden
Sent: Tuesday, August 17, 2010 11:10 AM
To: debian-user@lists.debian.org
Subject: Re: disable sleep mode hdd usb
>>
>> Maybe the disk name in /dev/disk/by-id could be used instead, there
>> are symlinks to /dev/sda on my system.
>>
>> Sven
>
> Well my mistake, hdparm deals with hard drives and uuid's are for file
> systems/partitions. i haven't had much luck with usb/sata device
> naming remaining the same without uuid's though. Seems like anything
> using sdX could fail at some point.
> --
> Peace,
>
> Greg
I believe a quick udev rule would solve this issue. Just set up a persistent udev rule to alias the USB device (by serial number?) to /dev/sdX.
James Z
Reply to: