freebsd-ports/sysutils/hal/files
..
10-mouse-sysmouse.fdi
extra-patch-tools_hal-storage-mount.c
hald.in
mount-fuse
patch-doc_Makefile.in
patch-fdi_policy_10osvendor_10-power-mgmt-policy.fdi
patch-fdi_policy_10osvendor_10-x11-input.fdi
patch-hald-runner_runner.c
patch-hald_freebsd_addons_addon-storage.c
patch-hald_freebsd_hf-devd.c
patch-hald_freebsd_hf-devtree.c
patch-hald_freebsd_hf-drm.c
patch-hald_freebsd_hf-memcard.c
patch-hald_freebsd_hf-memcard.h
patch-hald_freebsd_hf-scsi.c
patch-hald_freebsd_hf-usb.c
patch-hald_freebsd_hf-usb2.c
patch-hald_freebsd_hf-volume.c
patch-hald_freebsd_Makefile.in
patch-hald_freebsd_probe-usb2-device.c
patch-hald_freebsd_probing_Makefile.am
patch-hald_freebsd_probing_Makefile.in
patch-hald_freebsd_probing_probe-storage.c
patch-hald_freebsd_probing_probe-usb2-interface.c
patch-hald_freebsd_probing_probe-video4linux.c
patch-hald_freebsd_probing_probe-volume.c
patch-hald_hf-storage.c
patch-Makefile.in
patch-tools_hal-storage-eject.c
patch-tools_hal-storage-mount.c
patch-tools_hal-storage-shared.c
pkg-deinstall.in
pkg-install.in
README.fuse

Mounting Fuse File Systems with HAL
-----------------------------------

$FreeBSD$

Hal supports mounting Fuse device-backed file systems (e.g. NTFS).  To enable
this feature, copy the included %%LOCALBASE%%/share/hal/mount-fuse script
to /sbin.  Make sure this script is executable.  Edit the script, and change
the FUSE_HELPER environment variable to the name of the executable which
will actually mount the Fuse volume (e.g. for NTFS, this is ``ntfs-3g'').

Finally, the script must be renamed to ``mount_FSNAME''.  FSNAME is the name
of the file system type (e.g. for NTFS, this is ``ntfs'').  If there is
already an executable in /sbin or /usr/sbin with this name, the
existing executable must be renamed or deleted.

As is stated in the examples above, overriding FreeBSD's existing NTFS
support with Fuse's ntfs-3g is the most common use case for this.  The
ntfs-3g Fuse driver uses different mount options than FreeBSD's included
mount_ntfs.  GNOME transparently supports switching between ntfs and
ntfs-3g.  Simply edit the following GConf key in the GNOME
Configuration Editor (i.e. gconf-editor):

/system/storage/default_options/ntfs/fstype_override

Set the value to ``ntfs-3g'', then add your desired ntfs-3g options to the
following GConf key:

/system/storage/default_options/ntfs-3g/mount_options

Other desktop systems may have similar options.