Custom fstab causes duplicate entries for partitions in Places
Submitted by Martin Lindhe
Assigned to gvf..@..e.bugs
Link to original bug (#597420)
Description
Created attachment 144795 Screenshot explaining the "duplicate entries" problem
This bug report is pushed upstream from Ubuntu launchpad bug: https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/442130
It appears similar to Gnome bug #520851 but according to Sebastien Bacher it is a "new" bug, since the underlying APIs now use devicekit-disks.
This bug occurs on Ubuntu 9.10 beta running Gnome 2.28, gvfs 1.4.0.
I wanted my disks to automount on startup, but I didnt want to address them directly with device path, since it can change. So instead i use the LABEL directive. Now each partition is listed twice in Nautilus Places (see screenshot).
According to a post on ubuntuforums, this issue can also happen if you identify partitions by UUID:
A workaround is to specify the partitions by /dev/sdXXX paths instead
/etc/fstab: static file system information.
proc /proc proc defaults 0 0
LABEL=ubuntu / ext3 relatime,errors=remount-ro 0 1 UUID=4c604809-286a-4bf3-afd5-d23ff2e5464c none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
LABEL=mp3 /media/mp3 ext4 users,noauto,noexec,noatime,rw 0 2 LABEL=tvserier /media/tvserier ext4 users,noauto,noexec,noatime,rw 0 3 LABEL=filmer /media/filmer ext4 users,noauto,noexec,noatime,rw 0 4 LABEL=downloads /media/downloads ext4 users,noauto,noexec,noatime,rw 0 5
Attachment 144795, "Screenshot explaining the "duplicate entries" problem":
Version: 1.4.x