RE: disable sleep mode hdd usb
From: email@example.com [mailto:firstname.lastname@example.org] On Behalf Of Greg Madden
Sent: Tuesday, August 17, 2010 11:10 AM
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.
> 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.
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.