Re: forcing device to USB HDD

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



Les Mikesell wrote:
> Kenneth Porter wrote:
>> --On Saturday, October 27, 2007 2:16 PM -0400 "Michael D. Kralka"
>> <michael.kralka@xxxxxxx> wrote:
>>
>>> You can always set up a udev rule that will give the drive a known alias
>>> (e.g. "backup_drive") based on some fixed information that is stored in
>>> sysfs (such as vendor or model). Your scripts can then use the alias
>>> instead of the real drive name.
>>>
>>> This article is a little out of date, but might be useful:
>>>
>>> http://www.redhat.com/magazine/002dec04/features/udev/
> 
> What if you have more than one identical device and might want to plug
> more than one in at once?

I would suspect including the serial number (along with vendor and
model) to the udev rules would suffice. The probability that two devices
will have a matching vendor, model, and serial number is infinitesimal,
if not zero.

Cheers,
Michael

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux