> Actually that name is generated from the UUID when there is no label.
> You can change the label to something more friendly. How you do this
> depends on the file system. FAT32 file systems can be a little tricky
> to do under Linux (it is doable just not intuitive).
> You can also have a specific device mount to a specific place by using
> the UUID. For example, in my /etc/fstab
> UUID=b0ad2056-d4db-48d1-8195-1247d1e5ad9e /opt/scratch xfs defaults 0 0
> This UUID belongs to a USB drive and whenever it is connected it will
> mount to that specific mount point. You can get the UUID from
> /dev/disk/by-uuid which are sym links to the actual device (eg. /dev/sdc1).
> What file system is this drive?
doing a ls -rlt inside /dev/disk/by-uuid gives:
total 0
lrwxrwxrwx 1 root root 10 2010-09-18 19:46
b3924fd3-df9c-479e-ae73-8446409ec9eb -> ../../sda5
lrwxrwxrwx 1 root root 10 2010-09-18 19:46
e8eb4fb5-c6b8-476a-9330-52cd9fe32079 -> ../../sda1
lrwxrwxrwx 1 root root 10 2010-09-23 14:02 3012-E8F4 -> ../../sdb1
This looks correct from what you have said.
mount says:
/dev/sdb1 on /media/e `fontenc' type vfat
(rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
so type file type is vfat.
So, I assume the name "e `fontenc'" is being picked up from somewhere
and I need to go there and change it.
Or I can do what you said in /etc/fstab:
that is add line:
UUID=3012-E8F4 /media/flashDrive vfat defaults 0 0
Intalling the drive after adding the above line after inserting the drive
I get an error because it is not root attempting to mount the device.
So I changed the line to:
UUID=3012-E8F4 /media/flashDrive vfat user,exec,auto,suid, 0 0
Then, after creating directory /media/flashDrive (oops), it mounts,
Yeah!
Thanks all.
One final comment. Once I inserted the flash drive the desktop used to show an
icon of a flash drive with the name 3012-E8F4. Then it icon showed e `fontenc'.
Now it just shows: 4.0 GB FileSystem.
That's fine by me since I only have one flash drive but others with multiple
flash drives might like to know how to have the name of the flash
drive displayed.
Regards,
Rocky
_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying