fstab and uuid problems
Andy Boersma
andy at boersma.ca
Sat Jan 16 05:54:02 UTC 2010
James,
Normally speaking USB keys/dongles should not be in your fstab, they
should create temporary mount points.
I recommend that you add a # to the beginning of the line, to comment it
out.
reboot then plug the USB storage in.
It should properly mount after password.
Andy
James wrote:
> Is it normal that fstab is totally ignoring my UUID for my usb key?
> When I use the UUID it mounts two drives in my "Places" menu, one that
> works and the other that doesn't, but when I use the hard coded /dev/
> path it works and mounts only one drive under "Places"
>
> cat /etc/fstab
> # /etc/fstab: static file system information.
> #
> # Use 'blkid -o value -s UUID' to print the universally unique identifier
> # for a device; this may be used with UUID= as a more robust way to name
> # devices that works even if disks are added and removed. See fstab(5).
> #
> # <file system> <mount point> <type> <options> <dump> <pass>
> proc /proc proc defaults 0 0
> # / was on /dev/sda6 during installation
> UUID=5457a33f-656e-4d57-8c77-8de798b08ec8 / ext4
> errors=remount-ro 0 1
> # /home was on /dev/sda7 during installation
> UUID=33dd70df-2d5a-4ca3-93f3-79ee62478cc4 /home ext4
> defaults 0 2
> /dev/sda5 none swap sw 0 0
> #UUID=a5bd5801-d5ac-4b30-97cb-819553d7cba1 /media/Kingston ext4
> data=writeback,noauto,noatime,nodiratime,user 0 0
> /dev/sdb1 /media/Kingston ext4
> data=writeback,noauto,noatime,nodiratime,user 0 0
>
>
> ls -l /media
>
> drwxr-xr-x 3 root root 4096 Jan 14 21:08 Kingston
> lrwxrwxrwx 1 root root 6 Oct 16 21:21 cdrom -> cdrom0
> drwxr-xr-x 2 root root 4096 Oct 16 21:21 cdrom0
>
--
Andy Boersma
andy at boersma.ca
(647) 244-2460
More information about the ubuntu-ca
mailing list