- Add checks in rc.d scripts to avoid "double" loading/unloading. - Add patch-fuse_io.c (fix from http://mercurial.creo.hu/repos/fuse4bsd-hg/?rev/d7bf90a8cc85). - Handle "nonempty" option by ignoring it, used by ntfs-3g (http://mercurial.creo.hu/repos/fuse4bsd-hg/?rev/aef999f12049). - In the rc.d script unmount FUSE filesystem in the "stop" command, in reverse order in case the mounts are nested, waiting one second after each. This is a temporary workaround for umount returning before the cache has been flushed (which causes for example files not being written to the disk), a proper solution is being worked on. - Add note in pkg-message about "stop" rc.d command unmounting FUSE filesystems. PR: ports/118758 Submitted by: alepulver (myself) Approved by: Anish Mistry <amistry@am-productions.biz> (maintainer)
20 lines
928 B
Text
20 lines
928 B
Text
==============================================================================
|
|
|
|
In order to automatically load the fuse module on startup, you need to:
|
|
|
|
- Add fusefs_enable="YES" to your /etc/rc.conf.
|
|
- Run "%%PREFIX%%/etc/rc.d/fusefs start" (for the first time).
|
|
|
|
Set "sysctl vfs.usermount=1" if you want to be able to mount fuse devices as
|
|
an ordinary user.
|
|
|
|
Now fuse filesystems (sysutils/fusefs-*) can be mounted at startup from
|
|
/etc/fstab with the "late" parameter. This requires a symlink in /usr/sbin
|
|
named "mount_<fstype>", which is not created by all the fusefs ports.
|
|
|
|
Note that the rc.d script will unmount all fuse filesystems when called with
|
|
"stop", so it can unload the kernel module, and as a temporary workaround to
|
|
flush cache in drivers like NTFS-3G (sysutils/fusefs-ntfs) at shutdown (until
|
|
a proper solution is implemented).
|
|
|
|
==============================================================================
|