This patch fixes gnome-vfs issue with parsing /etc/fstab and /proc/mounts entries, using UUID= or LABEL= schemes for referencing partition and showing duplicate entries for volumes. Reproducible: Always Steps to Reproduce: 1. Add partition to /etc/fstab with device given by LABEL=<label>, UUID=<uuid> or /dev/disk/by-label/<label> instead of referencing device explicitly and 'user(s)' option enabled, eg. LABEL=data /media/data ext3 noatime,users,noauto 0 0 or UUID=3e6be9de-8139-11d1-9106-a43f08d823a6 /media/data ext3 noatime,users,noauto 0 0 2. Open computer:/// address in nautilus Actual Results: All partitions specified as described above will be listed in nautilus twice each (e.g. 'media' and 'media (2)'), referring however to the same partition. Expected Results: Each /etc/fstab entry with option 'user(s)' enabled should be listed once. More info: https://bugs.launchpad.net/gnome-vfs/+bug/57701 Original patch from Debian Edgy fixes only UUID= scheme and drops out support for referencing partition by label or by symlink. The original patch may also leak memory.
Created attachment 131308 [details, diff] This adds dereferencing of both UUID= and LABEL= schemes and fixes the issue. Tested on amd64.
Bug still isn't fixed in current trunk (2.23.0+)... Should we apply the patch anyway? @Team, what say you?
I'd say kick upstream to include it, they are still including stuff if it's not too complicated.
In 2.24.0-r1. Thanks for the patch and sorry for delay.