From 9b3fcf01c5d22d7be320a0e194cc54579f71c409 Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 18 Jan 2007 12:52:54 +0000 Subject: Mac FUSE support (thanks to Jeff Sickel) --- bin/mount | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/mount') diff --git a/bin/mount b/bin/mount index f20304b4..3cc36adb 100755 --- a/bin/mount +++ b/bin/mount @@ -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] } -- cgit v1.2.3