On Sunday 05 April 2009, barsalou wrote:
> Quoting Greg Madden <gomadtroll@acsalaska.net>:
> > Mike, have you considered using UUID instead of /dev/sda1. ? FYI,
> > UUID is a distintive identifier for each drive or maybe file system ?
> > If you use externel usb devices the same device gets mounted the
> > same place each time, no switching of sda to sdb etc.
> >
> > UUID=06e2f9c4-046b-46fa-b49c-7ae18bccc7cf /media/usbdisk xfs user,rw
> > 0 1 UUID=4eb66a47-7b39-42c7-97ee-f81ebd173d88 /media/usbkey4gb
> > ext2 user,rw 0 1
> > UUID=4559-03C1 /media/usbkey1gb vfat user,rw 0 0
>
> A quick google search showed that I could find the UUID of the device
> by doing:
>
> ls -al /dev/disk/by-uuid | grep sda1
or "blkid" :-)
> This would alleviate worrying about multiple devices being plugged in.
>
> Thanks Greg.
>
> Mike B.
-- Peace Greg Madden --------- To unsubscribe, send email to <aklug-request@aklug.org> with 'unsubscribe' in the message body.Received on Sun Apr 5 19:33:57 2009
This archive was generated by hypermail 2.1.8 : Sun Apr 05 2009 - 19:33:57 AKDT