diff options
author | rsc <devnull@localhost> | 2007-01-18 12:52:54 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2007-01-18 12:52:54 +0000 |
commit | 9b3fcf01c5d22d7be320a0e194cc54579f71c409 (patch) | |
tree | 62c73a298ebd2f52872ffb72ef6cec4a6b483165 /bin/mount | |
parent | e290e875f350dbbc2288ec988d939a57cc8f9bf2 (diff) | |
download | plan9port-9b3fcf01c5d22d7be320a0e194cc54579f71c409.tar.gz plan9port-9b3fcf01c5d22d7be320a0e194cc54579f71c409.tar.bz2 plan9port-9b3fcf01c5d22d7be320a0e194cc54579f71c409.zip |
Mac FUSE support (thanks to Jeff Sickel)
Diffstat (limited to 'bin/mount')
-rwxr-xr-x | bin/mount | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -18,6 +18,11 @@ case FreeBSD if(kldstat|9 grep -si ' fuse') exec 9pfuse $1 $2 echo 'don''t know how to mount (no fuse)' >[1=2] +case Darwin + if(sysctl fuse.version >[2=1] |9 grep -si 'fuse.version' || + test -d /System/Library/Extensions/fusefs.kext) + exec 9pfuse $1 $2 + echo 'don''t know how to mount (no fuse)' >[1=2] case * echo 'can''t mount on' `{uname} >[1=2] } |