Because USB and other Harddrive devices can be dynamic, and the "/dev/sd*" is not guaranteed on each boot. Use the UUID mount opiton, the UUID is assigned to each device based on what HAL gives it. The UUID will always be the same on every boot for that device.
To check what UUID was given to the USB drive or ANY other Disk attatched to the system
ls -l /dev/disk/by-uuid/
Check what UUID is linked to the "/dev/sd*" you are looking for.
Then edit/create an entry for it in your FSTAB
vi /etc/fstab
Entry looks like this;
UUID=5EA6A6DFA6A6B6C5 /mountpt type defaults 0 0
Last edited by zer0signal; 01-19-2011 at 07:22 AM.
|