sshfsexec icon indicating copy to clipboard operation
sshfsexec copied to clipboard

Support for MacOSX (/proc/self/mountinfo not present)

Open Gleek opened this issue 8 years ago • 1 comments

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)

Gleek avatar Jun 16 '16 06:06 Gleek

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.

ericpruitt avatar Jun 30 '16 18:06 ericpruitt