! 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 !
Ignore duplicated mount points
Status:
RESOLVED: WORKSFORME
Product:
Xfce4-mount-plugin
Component:
General

Comments

Description Raphael Groner 2014-04-20 11:00:57 CEST
Created attachment 5444 
duplicated mount moint

My mount point /var/lib/libvirt/images/ is shown twice in the popup menu. As it seems, a slash ("/") at the end makes the plugin to see it as a separate mount.

A fix should be easy to just ignore (trim) the ending slash in mount point pathes.
Comment 1 Raphael Groner 2014-04-25 12:54:29 CEST
Well, maybe bug #9400 can help for a workaround. But not sure.
Comment 2 Fabian Nowak editbugs 2014-04-26 23:35:03 CEST
fixed. thanks for reporting.
Comment 3 Raphael Groner 2014-06-02 22:19:58 CEST
This bug is not fixed. When there is a rule to ignore some pathes, the duplication is shown again.

Example: 
Ignore "/proc/*" shows "/var/lib/libvirt/images/" (not mounted) and "/var/lib/libvirt/images" (mounted with size identication).
Comment 4 Raphael Groner 2014-06-02 22:31:33 CEST
Well, I think those both features are overlapping.

(In reply to Raphael Groner from comment #3)
> Example: 
> Ignore "/proc/*" shows "/var/lib/libvirt/images/" (not mounted) and
> "/var/lib/libvirt/images" (mounted with size identication).

Solution: 
Ignore "/proc/* /var/lib/libvirt/images/", then .../images is shown only once.
Comment 5 Raphael Groner 2014-06-04 13:14:15 CEST
I have localized the root cause. There was a slash in /etc/fstab that caused to confuse the plugin.

You can consider to reject this patch cause of a level 8 problem. Sorry for all the noise and the now worthless work. :(

Bug #10836

Reported by:
Raphael Groner
Reported on: 2014-04-20
Last modified on: 2014-06-04

People

Assignee:
Fabian Nowak
CC List:
0 users

Version

Version:
unspecified

Attachments

duplicated mount moint (50.21 KB, image/png)
2014-04-20 11:00 CEST , Raphael Groner
no flags

Additional information