Les Mikesell wrote:
Kenneth Porter wrote:
--On Saturday, October 27, 2007 2:16 PM -0400 "Michael D. Kralka" michael.kralka@kvs.com 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:
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