The answer is a lot simpler. There are no spaces in UUIDs, period. What happens is that udev will use the disk label if present to create the mount point in /media. If you wanted "/media/My Special Drive" all you should need to do is label the file system "My Special Drive". For ext2/3/4 you would use e2label to accomplish this. Other file systems have different tools to do the same thing.
When there is no disk label (or there are duplicate disk labels) udev falls back on the UUID when creating a mount points in /media What you want to do is look in /dev/disk/by-uuid which contains symlinks to the actual device. /dev/disk/by-label/ and /dev/disk/by-path/ contain symlinks of what you would expect. Hth, On Sun, May 22, 2011 at 10:28 PM, John E. jardine <john_e_jard...@spamcop.net> wrote: > Complete guess with no testing... > What about dropping the quotes and using a back-slash? > > UUID=HP\ v255w /media/flashDrive vfat user,exec,noauto,suid 0 0 > > Just a thought. > > ----- Original message ----- >> I am using ubuntu 10.10 and have the following two lines in my >> /etc/fstab file: >> >> #UUID=3012-E8F4 /media/flashDrive vfat user,exec,noauto,suid 0 0 >> UUID="HP v255w" /media/flashDrive vfat user,exec,noauto,suid 0 0 >> >> The first line (before being commented out) allowed me to reference my >> flash drive >> as being at directory /media/flashDrive. Before I added this line to >> fstab, installing >> my flash drive caused it to be located at /media/3012-E8F4 but after >> it installed >> to /media/flashDrive as expected. >> >> I now have a new flash drive which installs to "/media/HP v255w". >> I want it to install to /media/flashDrive so I added the second >> /etc/fstab line listed above. >> I need the double quotes to escape the space character but it doesn't >> seem to work. >> Neither does using single quotes instead of double quotes. >> >> What do I do to deal with drive UUID names containing spaces? >> >> Note that when I restart I get the message: >> >> <The disk drive for v255w" is not ready yet or not present >> >> continue to wait; or Press S to skip ...> >> >> Regards, >> >> Ralph Boland >> _______________________________________________ clug-talk mailing list clug-talk@clug.ca http://clug.ca/mailman/listinfo/clug-talk_clug.ca Mailing List Guidelines (http://clug.ca/ml_guidelines.php) **Please remove these lines when replying