Mac FUSE support (thanks to Jeff Sickel)

This commit is contained in:
rsc 2007-01-18 12:52:54 +00:00
parent e290e875f3
commit 9b3fcf01c5
5 changed files with 59 additions and 3 deletions

View file

@ -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]
}