PDA

View Full Version : Device ID command



KB1LQC
August 12th, 2008, 01:50 PM
Does anyone know how to acquire and set a certain device such as a USB drive to always be the same drive letter. I.E. have a certain reader always be /dev/sdb. I want to use this in a program I have been working on. Thanks!




Bryce
KB1LQC

finer recliner
August 12th, 2008, 07:37 PM
every mountable device has a unique ID called a UUID. you can use this ID to mount a specific device to a specific path in your fstab.

this sounds similar to your problem:
http://www.linuxforums.org/forum/misc/20903-uuid.html