Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2016 05:19:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 204464] sysutils/fusefs-ntfs: No automount with HAL of ntfs-volumes since FreeBSD 10.x
Message-ID:  <bug-204464-13-GeDWsuK3Pg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204464-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204464-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204464

--- Comment #8 from rkoberman@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=3D"$(fstyp "/dev/${_key}" 2> /dev/null)"
        if [ $? -eq 0 ]; then
-               echo "-fstype=3D${_fstype},nosuid :/dev/${_key}"
+               if [ ${_fstype} =3D "ntfs" ]; then
+                       echo
"-fstype=3D${_fstype},nosuid,mountprog=3D/usr/local/bin/ntfs-3g=20=20=20=20=
=20=20=20
:/dev/${_key}"
+               else
+                       echo "-fstype=3D${_fstype},nosuid :/dev/${_key}"
+               fi
                return
        fi

@@ -59,7 +63,11 @@ print_one() {
                        continue
                fi

-               echo "-fstype=3D${_fstype},nosuid :/dev/${_p}"
+               if [ ${_fstype} =3D "ntfs" ]; then
+                       echo
"-fstype=3D${_fstype},nosuid,mountprog=3D/usr/local/bin/ntfs-3g        :/de=
v/${_p}"
+               else
+                       echo "-fstype=3D${_fstype},nosuid :/dev/${_p}"
+               fi
        done

        # No matching device - don't print anything, autofs will handle it.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204464-13-GeDWsuK3Pg>