You are not logged in.
Pages: 1
Topic closed
I'm using Deepin Desktop (Gnome based).
I have an SSD (that the OS is on) and a secondary 1TB HDD that I have pretty much everything else on including the contents of Documents, Downloads, Music, Pictures and Videos and created binds in fstab to 'link' them to Home/Documents, etc.
After a recent set of updates, my fstab binds are now showing up on the desktop as mounts.
See screenshot:
Weirdly my Documents directory shows up as the "Farsight" HDD instead of "Documents" where as all the other directories have the correct name.
My fstab:
# /dev/sda3
UUID=fa2ce9bd-bc9c-43de-901c-c0e3eab790e0 / ext4 rw,relatime,data=ordered 0 1
# /dev/sda1
UUID=B1D5-6223 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
# /dev/sda2
UUID=ebed628d-7c27-42e1-b5f2-56f8ab459c3e none swap defaults 0 0
# /dev/sdb
UUID=1e3dcee6-a93f-430b-9209-92443cbfacd4 /mnt/Farsight ext4 defaults 0 2
# Binds
/mnt/Farsight/Documents /home/rose/Documents none bind,x-gvfs-hide 0 0
/mnt/Farsight/Downloads /home/rose/Downloads none bind,x-gvfs-hide 0 0
/mnt/Farsight/Music /home/rose/Music none bind,x-gvfs-hide 0 0
/mnt/Farsight/Pictures /home/rose/Pictures none bind,x-gvfs-hide 0 0
/mnt/Farsight/Videos /home/rose/Videos none bind,x-gvfs-hide 0 0
I have tried using x-gvfs-hide, comment=x-gvfs-hide, comment=gvfs-hide and gvfs-hide but none of them have made any difference. The documentation for udisks2 states that x-gvfs-hide should hide those from Nautilus/Desktop but clearly it is not.
I tried creating a UDEV rule
ENV{ID_SERIAL}=="WDC_WD10EZEX-00WN4A0_WD-WMC6Y0HA0MNY", ENV{UDISKS_IGNORE}="1"
While that worked to hide my 1TB drive (called Farsight) and correctly listed all of my directories (instead of the Documents directory being called Farsight and all the rest of them correct), the binds are still obviously showing up as mounted.
Nor do I actually want to hide my 1TB drive. I just want the binds to not show up as mounts in Nautilus and the Deepin Dock.
I have lost count of the number of forum threads I have read now and have yet to find any actual solution to this problem that doesn't involve some flavour of x-gvfs-hide or a UDEV rule or using symlinks (which I can't do because some of my apps don't play nice with symlinks).
Currently I am looking at the possibility of using systemd mounts instead (as according to this thread posted by someone with the same problem: https://bbs.archlinux.org/viewtopic.php … #p1220413).
I don't however know what the pros/cons are of fstab vs systemd mounts. Nor do I understand why this is suddenly an issue - I've been using Deepin Desktop for about a year now and this has only just started happening.
Help and suggestions much appreciated
Last edited by Thorned_Rose (2017-05-19 02:19:04)
Offline
Some of the threads/pages I have looked at for reference:
https://bbs.archlinux.org/viewtopic.php?id=226234
https://github.com/GNOME/gvfs/blob/mast … -shown.txt
https://github.com/rfjakob/gocryptfs/issues/103
https://ubuntuforums.org/showthread.php?t=1701478
https://wiki.archlinux.org/index.php/ud … 2C_are_not
https://unix.stackexchange.com/question … unt-points
https://askubuntu.com/questions/124094/ … rom-ubuntu (I installed Gnome Disks on the offchance it made any difference, but it did not list any of the binds)
This one suggests removing readforall attribute from /etc/fstab but I'm not sure how much of a good idea that would be and if it would potentially cause other problems.
https://askubuntu.com/questions/193524/ … n-nautilus
Posted today with the same problem: https://www.reddit.com/r/archlinux/comm … h=b9ecf9a8
Apparently this is listed as a bug but is clearly not fixed (given the large number of people who have this problem): https://bugs.launchpad.net/ubuntu/+sour … bug/452049
And a bunch more I've lost track of.
Last edited by Thorned_Rose (2017-05-19 01:53:03)
Offline
Seems to be a bug with glib2. I notice that one of the recent updates I had was to glib2
https://bugs.launchpad.net/ubuntu/+sour … bug/452049
Offline
I can confirm that this is a bug with glib2 version 2.52.2+1+gb8bd46bc8-1 (possibly the version before it as well, I haven't tested). Downgrading to glib2 and glib2-docs 2.52.0-1 has (for now) fixed this problem for me.
Offline
Confirmed, would also like to see this fixed. even tried to mount with systemd .mount files but problem persists. All my file managers now treat my bind mounts as devices; style with device icon and put on desktop. Downgraded for now
Thanks for figuring it out rose
Offline
OK, after 3 updates later of glib2, the problem still persist...
Offline
Well, i have the same issue. I don't know why this thread is marked as solved, downgrading is not a real solution, at least for me.
BTW you can see the bugreport status here.
Offline
I finally stumbled onto this thread after trying just about everything else. This issue is current for me using Budgie desktop with glib2 version 2.54.2-2
Offline
Version 2.56.1-1 of glib2 shows still the same behavior (x-gvfs-hide being ignored)
Offline
Bumping this thread will do nothing to fix this, report this upstream if this is an actual issue.
https://wiki.archlinux.org/index.php/Co … bumping.22
Closing.
Last edited by V1del (2018-05-29 21:44:21)
Online
Pages: 1
Topic closed