any way to control disk order?
Robert Nichols
rnicholsNOSPAM at comcast.net
Fri Sep 2 13:59:45 UTC 2011
On 09/01/2011 09:56 PM, Tom Horsley wrote:
> My poor old system died, and I resurrected it by moving the
> disks to an older system. For who knows what reason, the
> kernel has decided to call the external USB drive I use for
> backups /dev/sda (the old system called it /dev/sdc).
>
> My internal sata disks are being called /dev/sdb and
> /dev/sdc.
>
> This screws with things like hddtemp where you have to
> give it args like /dev/sda /dev/sdb.
>
> I don't suppose there is any available mechanism for
> forcefully inducing the kernel to enumerate removable
> drives last?
You could try fighting with udev rules to force the naming the
way you want it, or just give hddtemp links in /dev/disk/by-id/
instead of /dev/sda, etc. Those links are based on device
serial numbers.
--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.
More information about the users
mailing list