! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Mount points with device LABEL=x are not visible
Status:
RESOLVED: FIXED
Product:
Xfce4-mount-plugin
Component:
General

Comments

Description Raphael Groner 2012-07-15 23:16:13 CEST
Add labels to your filesystems.
Change /etc/fstab to use the labels.
Change the kernel command line to use a label for the root disk.
Adding labels to filesystems
Note that the labels apply to partitions, not to disks.

Example in /etc/fstab:
LABEL=BACKUP /media/BACKUP ext2 noauto,users,noatime 0 0

That entry is not in the list till it will be mounted without the plugin.

It should be easy to fix in devices.c, line #406/407.

        has_valid_mount_device =
                        g_str_has_prefix(pfstab->fs_spec, "/dev/") ||  g_str_has_prefix(pfstab->fs_spec, "UUID=") || g_str_has_prefix(pfstab->fs_spec, "LABEL=");
Comment 1 Fabian Nowak editbugs 2014-04-25 01:18:40 CEST
thx. fixed.
Comment 2 Raphael Groner 2014-04-25 12:38:10 CEST
Thanks for caring. I have downstreamed your patch to Fedora.

Bug #9127

Reported by:
Raphael Groner
Reported on: 2012-07-15
Last modified on: 2014-04-25

People

Assignee:
Fabian Nowak
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information