sshfsexec
sshfsexec copied to clipboard
Support for MacOSX (/proc/self/mountinfo not present)
The with open("/proc/self/mountinfo") as iostream:
fails.
I cannot find an alternative for this utility on mac (in my 20 minute research). Maybe sysctl
might give us that somehow.
Right now I cannot think of anything other than parsing the output of mount
. Here's a sample output for the fuse mount volume of the mount
command:
devmount:/var/www/files/ on /Users/umar/Development/mount (osxfusefs, nodev, nosuid, synchronous, mounted by umar)
If you always use the same mount point paths, you could manually create and hard-code a dictionary in place of calling sshfsmountmap
. Unfortunately, I no longer have access to a Mac OS X machine, but if that changes, I'll see if I can figure out what can be done to make this tool support Mac OS X.