label of removable media

Hi,
I've noted that on my system (9 RC1) the Gnome file manager is showing the removable media (e.g., USB stick) not by its volume label but by the dev node. For example, my USB stick is seen as da1s1 instead of the label it has (and that is visible for instance in KDE). Is there a setting to configure to see the volume label instead of the device node?
 
aragon said:
Do you have GEOM's label module enabled?

Does your USB stick's label appear in the output of:

$ glabel status
Thanks for that tip! Didn't know the glabel trick but I encountered a rather interesting outcome in trying it with my ongoing problem with hal and gvfs on RC-1. Still struggling myself to figure out exactly what's wrong before I can throw up a PR on it. Interesting outcome in my case that I suspect might be at play here as well ... I have a CDROM and a UFS stick which both have labels. Interesting outcome on the UFS mount since there's a /dev/ufs and a /dev/ufsid listing in /dev for the same da0s1a!

Here's the output of interest:

Code:
[KNOS@KNOS-32 ~]$ glabel status
                  Name  Status  Components
          iso9660/KNOS     N/A  cd0
ufsid/4eb8cd4d4df7dbf8     N/A  da0s1a
              ufs/KNOS     N/A  da0s1a
[KNOS@KNOS-32 ~]$
 
There's more than one kind of label. There are filesystem labels, like the MS-DOS volume name and tunefs(8) -L. There are partition labels assigned with gpart(8) -l. There's glabel(8). Seems like there are others I'm forgetting, too.

Filesystem labels are nice because they won't interfere with each other. glabel(8) labels can be used inside GPT partitions, but not as the label of a GPT device (because the backup GPT partition table overwrites the last block of the device where glabel stores the label information).
 
I don't know what changed, but suddenly the usb key has been labelled correctly in nautilus.
The status of glabel is

Code:
$ glabel status
          Name  Status  Components
ntfs/PQSERVICE     N/A  ada0s1
     ntfs/ACER     N/A  ada0s2
   label/boot0     N/A  ada0s4a
   label/swap0     N/A  ada0s4b
 msdosfs/FLUCA     N/A  da0s1

and of course
Code:
$ ls -l /dev/msdosfs/FLUCA 
crw-r-----  1 root  operator    0, 158 Nov 12 15:01 /dev/msdosfs/FLUCA
 
Back
Top