9

Is there a way to attach gvfs mount to a custom directory? So instead of ~/.gvfs/sftp for leon on filezzzz.tim-online.nl/ something like: ~/mounts/filezzzz.tim-online.nl/?

I thought about using pam_mount but that lacks the nice gnome keyring integration.

Jorge Castro
  • 70,934
  • 124
  • 466
  • 653
Leon
  • 275
  • 2
  • 8

1 Answers1

2

I use a symlink named "MountedFolders" which points to ".gvfs".

Since you mentioned creating something with python, you could create a python program that uses inotify to monitor ".gvfs" and creates symlinks in "~/mounts"

Li Lo
  • 15,506
  • 4
  • 38
  • 40
  • I have significantly slower access times to gvfs mounted files though a symlink. Its an ssh gvfs mount. I'm guessing the symlink invalidates some form of caching that makes gvfs more tolerable. – ThorSummoner Aug 25 '15 at 17:25