macFUSE and autofs

I'm trying to use autofs to mount some macFUSE filesystems. However, autofs requires custom filesystems to provide /sbin/mount_* and this directory is not writable nor modifiable via synthentic.conf

Using a launch agent or daemon is not desirable as there is a non-blocking delay before the filesystem gets mounted which causes a race condition.

Is there any other option to let diskarbitrationd or autofs to automatically mount a macFUSE filesystem?

Answered by Kentzo in 789579022

I since found that /Library/Filesystems is user-writable (but requires root). In order to expose mount_<filesystem> to autofs, the following directory can be added:

/Library/Filesystems/<filesystem>.fs
└── Contents
    └── Resources
        └── mount_<filesystem>
Accepted Answer

I since found that /Library/Filesystems is user-writable (but requires root). In order to expose mount_<filesystem> to autofs, the following directory can be added:

/Library/Filesystems/<filesystem>.fs
└── Contents
    └── Resources
        └── mount_<filesystem>
macFUSE and autofs
 
 
Q