diff --git a/bin/mount b/bin/mount index 79b974f7..a343a532 100755 --- a/bin/mount +++ b/bin/mount @@ -19,10 +19,12 @@ case FreeBSD exec 9pfuse $1 $2 echo 'don''t know how to mount (no fuse)' >[1=2] case Darwin + version=`{sw_vers -productVersion|cut -d. -f1,2} if(sysctl fuse.version >[2]/dev/null |9 grep -si 'fuse.version' || sysctl macfuse.version.number >[2]/dev/null |9 grep -si 'fuse.version' || sysctl osxfuse.version.number >[2]/dev/null |9 grep -si 'fuse.version' || test -d /System/Library/Extensions/fusefs.kext || + test -d /Library/Filesystems/osxfuse.fs/Contents/Extensions/$version/osxfuse.kext || test -d /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext || test -d /Library/Filesystems/fusefs.fs/Support/fusefs.kext) exec 9pfuse $1 $2