tunmount - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
tunmount (216B)
---
1 #!/usr/local/plan9/bin/rc
2
3 if(! ~ $#* 1){
4 echo 'usage: unmount mtpt' >[1=2]
5 exit usage
6 }
7 f=`{u mount | grep $1}
8 if(echo $f | 9 grep -s 'type fuse' && ! ~ `{uname} Darwin)
9 exec fusermount -u -z $1
10 exec u umount $1