Mount some archive and do not show it in "devices" list
- From: Jehan Pagès <jehan marmottard gmail com>
- To: gvfs-list gnome org
- Subject: Mount some archive and do not show it in "devices" list
- Date: Wed, 20 Aug 2014 02:06:42 +0200
Hello,
I have been experimenting a little with gio/gvfs. I have an archive
(tar, zip, whatever), and I mount it with
g_file_mount_enclosing_volume(). Well this works well. But then it
shows up in my file manager (Nemo in this case).
How can I request that this virtual file system is not shown in such
software? I could not find this in glib API. My use case would be some
app which just wants to open various archives and interact with files
in these transparently. If an app mounts an archive for its own usage,
you don't want to clutter the user UI (file manager, open/save
dialogs, etc.) with useless mount points, which are only for app
usage, not useful at all for user consumption.
How can I do this, is this possible?
Basically I just want to read files in archives. I could also
uncompress them, that's another possibility, but I thought that
reading files without unarchiving in some temporary directory was a
nicer design. Is not gvfs at all good for such use case? Maybe I am on
the wrong path?
Thanks!
Jehan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]