[Bug 204464] sysutils/fusefs-ntfs: No automount with HAL of ntfs-volumes since FreeBSD 10.x
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 27 05:19:25 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204464
--- Comment #8 from rkoberman at gmail.com ---
Sorry. I truncated the patch.
I just tested this one (if I can do the cut and paste right this time.)
--- special_media (revision 294670)
+++ special_media (working copy)
@@ -35,7 +35,11 @@ print_one() {
_fstype="$(fstyp "/dev/${_key}" 2> /dev/null)"
if [ $? -eq 0 ]; then
- echo "-fstype=${_fstype},nosuid :/dev/${_key}"
+ if [ ${_fstype} = "ntfs" ]; then
+ echo
"-fstype=${_fstype},nosuid,mountprog=/usr/local/bin/ntfs-3g
:/dev/${_key}"
+ else
+ echo "-fstype=${_fstype},nosuid :/dev/${_key}"
+ fi
return
fi
@@ -59,7 +63,11 @@ print_one() {
continue
fi
- echo "-fstype=${_fstype},nosuid :/dev/${_p}"
+ if [ ${_fstype} = "ntfs" ]; then
+ echo
"-fstype=${_fstype},nosuid,mountprog=/usr/local/bin/ntfs-3g :/dev/${_p}"
+ else
+ echo "-fstype=${_fstype},nosuid :/dev/${_p}"
+ fi
done
# No matching device - don't print anything, autofs will handle it.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list