2016-09-30 06:34:13 |
i30817 |
description |
using the /media/$USER/mountpoint support i wanted to show a squashfs file that i mounted during boot in Places.
Simple (thought i) place this in fstab:
/media/i30817/Huggin/Documents/Games/playstation_1.sqsh /mnt/Playstation squashfs ro,nofail,noexec,nodev,nosuid,users,x-gvfs-show 0 0
any user can mount it, it is no using /media/ mounts to minimize the possibility of 'automounters' conflict, what could go wrong?
Then i realized that the kernel (maybe?) creates another mountpoint from the squash file to /dev/loop0 when i or the root (on boot) mounts the file. I suppose they're supposed to be transparently coupled, umounting the 'real' dir removes the loopback and that is fine.
What's not fine is:
1. both show in Places in nautilus
2. on book, if i don't specify 'noauto' (which i don't want), there is the very real possibility that nautilus gets confused and when i click on playstation it tells me that 'playstation_1.sqsh is already mounted by /dev/loop0', and only shows the option to 'mount' and not 'unmount' (even if it's already mounted as a simple cmd line tests) if i right click on the Playstation place item.
This is very similar to this bug:
https://bugs.launchpad.net/gvfs/+bug/442130
but of course the current workaround of using UUIDs does not work since a squashfs mount is in fact, not a partition and therefore has no UUID and i need users anyway.
The bug upstream refereed in that report was closed 'fixed' but i think it was only partially fixed. Could you open a new bug report? I never could deal with opening bug reports on gnome, very user unfriendly place that bug report site is.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: nautilus 1:3.18.4.is.3.14.3-0ubuntu5
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
Uname: Linux 4.4.0-38-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Sep 30 06:23:00 2016
GsettingsChanges:
b'org.gnome.nautilus.preferences' b'executable-text-activation' b"'launch'"
b'org.gnome.nautilus.window-state' b'sidebar-width' b'319'
b'org.gnome.nautilus.window-state' b'geometry' b"'620x441+-26+4'"
b'org.gnome.nautilus.desktop' b'volumes-visible' b'true'
b'org.gnome.nautilus.list-view' b'default-column-order' b"['name', 'size', 'type', 'date_modified', 'date_accessed', 'owner', 'group', 'permissions', 'mime_type', 'where']"
InstallationDate: Installed on 2016-09-25 (4 days ago)
InstallationMedia: Ubuntu-GNOME 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160720)
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install) |
using the /media/$USER/mountpoint support i wanted to show a squashfs file that i mounted during boot in Places.
Simple (thought i) place this in fstab:
/media/i30817/Huggin/Documents/Games/playstation_1.sqsh /mnt/Playstation squashfs ro,nofail,noexec,nodev,nosuid,users,x-gvfs-show 0 0
any user can mount it, it is no using /media/ mounts to minimize the possibility of 'automounters' conflict, what could go wrong?
Then i realized that the kernel (maybe?) creates another mountpoint from the squash file to /dev/loop0 when i or the root (on boot) mounts the file. I suppose they're supposed to be transparently coupled, umounting the 'real' dir removes the loopback and that is fine.
What's not fine is:
1. both show in Places in nautilus
2. on boot, if i don't specify 'noauto' (which i don't want), there is the very real possibility that nautilus gets confused and when i click on playstation it tells me that 'playstation_1.sqsh is already mounted by /dev/loop0', and only shows the option to 'mount' and not 'unmount' (even if it's already mounted as a simple cmd line tests) if i right click on the Playstation place item.
This is very similar to this bug:
https://bugs.launchpad.net/gvfs/+bug/442130
but of course the current workaround of using UUIDs does not work since a squashfs mount is in fact, not a partition and therefore has no UUID and i need users anyway.
The bug upstream refereed in that report was closed 'fixed' but i think it was only partially fixed. Could you open a new bug report? I never could deal with opening bug reports on gnome, very user unfriendly place that bug report site is.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: nautilus 1:3.18.4.is.3.14.3-0ubuntu5
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
Uname: Linux 4.4.0-38-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Sep 30 06:23:00 2016
GsettingsChanges:
b'org.gnome.nautilus.preferences' b'executable-text-activation' b"'launch'"
b'org.gnome.nautilus.window-state' b'sidebar-width' b'319'
b'org.gnome.nautilus.window-state' b'geometry' b"'620x441+-26+4'"
b'org.gnome.nautilus.desktop' b'volumes-visible' b'true'
b'org.gnome.nautilus.list-view' b'default-column-order' b"['name', 'size', 'type', 'date_modified', 'date_accessed', 'owner', 'group', 'permissions', 'mime_type', 'where']"
InstallationDate: Installed on 2016-09-25 (4 days ago)
InstallationMedia: Ubuntu-GNOME 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160720)
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install) |
|