simple-mtpfs icon indicating copy to clipboard operation
simple-mtpfs copied to clipboard

Error: Can not mount the device to '/Volumes/X' & Disappearing Mount Folder

Open andreysamode opened this issue 6 years ago • 2 comments

I'm running simple-mtpfs on OS X with homebrew and while attempting to mount the device with "simple-mtpfs -v /Volumes/X", I get the following error: "Error: Can not mount the device to '/Volumes/X'."

I see the device in the list—"1: VariousViewpia DR/bq Kepler", /Volumes/X exists. There's nothing in system log.

When I try to run it with sudo, the output says "Connected", but the /Volumes/X simply disappears. I can't see it or cd into it.

df shows this: simple-mtpfs@osxfuse0 56623656 2070184 54553472 4% 0 0 100% /Volumes/X

After "sudo umount /Volumes/X", the X folder is still gone.

Any ideas? Thanks.

andreysamode avatar Oct 30 '18 20:10 andreysamode

UPDATE: Got it to mount using the following command: sudo simple-mtpfs -o allow_other,rw -v /Volumes/X

The folder is still automatically deleted afterward, though.

UPDATE 2: If the folder is not in /Volumes, it seems to not be deleted afterwards.

andreysamode avatar Oct 30 '18 21:10 andreysamode

If the folder is not in /Volumes, it seems to not be deleted afterwards.

That is the normal behaviour for unix mount: you have to create the directory (typically but not necessarily empty) before you can mount something on top of it, and when you unmount then the directory remains and whatever was in it (if anything) becomes accessible again.

It's macOS's /Volumes/ which behaves weirdly.

cpcallen avatar May 31 '19 12:05 cpcallen