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/unmount | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/unmount') diff --git a/bin/unmount b/bin/unmount index 3d2760f8..6323e843 100755 --- a/bin/unmount +++ b/bin/unmount @@ -1,10 +1,10 @@ -#!/usr/local/plan9/bin/rc +l#!/usr/local/plan9/bin/rc if(! ~ $#* 1){ echo 'usage: unmount mtpt' >[1=2] exit usage } f=`{u mount | grep $1} -if(echo $f | 9 grep -s 'type fuse') +if(echo $f | 9 grep -s 'type fuse' && ! ~ `{uname} Darwin) exec fusermount -u -z $1 exec u umount $1 -- cgit v1.2.3