Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot mount with fstab #194

Closed
johntrandall opened this issue Feb 11, 2015 · 4 comments
Closed

cannot mount with fstab #194

johntrandall opened this issue Feb 11, 2015 · 4 comments

Comments

@johntrandall
Copy link

Hello.

I'm trying to mount a drive pool with the following fstab entry:

mhddfs#/Volumes/D01,/Volumes/D12/,/Volumes/D103/,/Volumes/D110 /mnt/DrivePoolB osxfuse nonempty,allow_other 0 0

I reload the fstab by running:

 $ sudo mount -a

This returns the following error:

 mount: exec /System/Library/Filesystems/osxfuse.fs/Contents/Resources/mount_fuse for /mnt/DrivePoolB: No such file or directory

However, the osxfuse installer doesn't ever write anything to /System/Library/Filesystems... it writes to /Library/Filesystems. So fstab can't find the .fs file where it is looking for it.

Should the osxFuse installer put symlinks in /System/Library? Or, more cleanly, can fstab be pointed at /Library Filesystems instead? Any suggestions on how to resolve this?

@bfleischer
Copy link
Member

The /System directory is reserved for Apple. Custom file systems need to be installed in /Library/Filesystems. Please see https://code.google.com/p/macfuse/wiki/AUTOMOUNTING for details on how to create an fstab entry for FUSE file systems on OS X.

@pasnox
Copy link

pasnox commented Mar 12, 2016

I'm do have a similar error with el Capitan and EncFS driver.
All works fine by hands but fails from fs tab with:
mount: exec /Library/Filesystems/fuse.fs/Contents/Resources/mount_fuse for /Volumes/Shared/EncFS: No such file or directory

Note though that the directory do exists but the filesystems fuse.fs is not, it does exists an osxfuse.fs, but it does not contains the mount_fuse binary.

I tried to create a /sbin/mount_encfs symlink to /usr/local/bin/encfs but that's still failing: El Capitan does not allow to write in due to rootless new feature.

Can you try to explain me how i can auto mount at start up an encfs partition using fstab ?
I do use that on linux and it does works just fine.

Thanks,

@hbast
Copy link

hbast commented Aug 16, 2018

I add this information because I is not that obvious.

The error messages means that mount_fuse is in the correct path. You can therefore generate a symbolic link like:

sudo ln -s /usr/local/bin/mount_fuse /sbin/mount_fuse

or for bindfs

sudo ln -s /usr/local/bin/bindfs /sbin/mount_fuse.bindfs

@x4base
Copy link

x4base commented Jul 8, 2020

@pasnox, I use LaunchDaemons instead of fstab to mount at boot and it works. See my comment in mpartel/bindfs#87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants