Re: Mount some archive and do not show it in "devices" list



Hi,

On Wed, Aug 20, 2014 at 4:28 PM, Tomas Bzatek <tbzatek redhat com> wrote:
On Wed, 2014-08-20 at 15:04 +0200, Jehan Pagès wrote:
If I were to report a feature request
on bugzilla, would a mounting option for hidden mount point be
considered, or it would be refused by design?

We've been wanting per-mount options for some time; however no real work
has been started on it (see [1]).

Please file a RFE in bugzilla so that the idea would not get lost. It's
actually not a bad idea with rather trivial implementation (outside of
the option system itself).

Done: https://bugzilla.gnome.org/show_bug.cgi?id=735105
I added also a dependency to bug 585423.

The only way of controlling mount visibility right now is through the
udisks2 volume monitor:
https://git.gnome.org/browse/gvfs/plain/monitor/udisks2/what-is-shown.txt
That's for fstab mounts however.


The following may point you in the right direction for reading archives:
http://www.hadess.net/2013/12/on-beauty-of-libarchive.html

Thanks. I'll have a look, though a quick skimming of the API seems to
tell me that's not what I wanted. This allows me to list and read data
in an archive, but I actually really wanted to be able to do various
things, like execute files in an archive and such (imagine for
instance a plugin system, where plugins are composed of scripts and
data packed in some archive. Running the script from inside the
archive, and this script still being able to access the rest of its
data in its own mount point — and communicating, through pipes or
whatever, with the main program — would be quite convenient).
I had not tested this part yet, but I imagine that since a mount point
was created for the archive, it would have been possible to run a
script this way through gio, without even getting it out of its
archive.

If you wanted to execute a script from the virtual mount, you'd need to
use gvfs-fuse daemon to get a POSIX access. While it could work, it's
only a fallback with tons of issues and limitations. We don't encourage
people in such way of using gvfs, it's not our primary target either.

Reading your lines, I think you'd be more happy with a pure archiving
FUSE filesystem, such as the archivemount [2] project.

Ok. Thanks for the hint. I'll have a look to this project.

Jehan

[1] https://bugzilla.gnome.org/show_bug.cgi?id=585423
[2] http://en.wikipedia.org/wiki/Archivemount

--
Tomas Bzatek <tbzatek redhat com>

_______________________________________________
gvfs-list mailing list
gvfs-list gnome org
https://mail.gnome.org/mailman/listinfo/gvfs-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]