Sign in
plan9port
/
plan9
/
c0ae8e760cd5eb3f8b1dc020df4aa91b3aac64dc
/
.
/
bin
/
unmount
blob: 46976f162a1e855ae681d665a2b55f18d0e62518 [
file
] [
log
] [
blame
]
#!/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' && ! ~ `
{
uname
}
Darwin
)
exec
fusermount
-
u
-
z $1
exec
u umount $1