ref: 3c724f5a03ba3846bce90e0fbc11e4f4e5b5e09a
dir: /bin/local/
#!/bin/rc -e
if(~ $#ws 0)
ws=/tmp
while(~ $1 -* && ! ~ $1 --){
switch($1){
case -r
. $ws/mounts
plumb 'Local . '$ws'/mounts'
exit
}
shift
}
if(~ $1 --)
shift
echo $"* >>$ws/mounts
uniq $ws/mounts >$ws/mounts.q
mv $ws/mounts.q $ws/mounts
eval $* && plumb 'Local '$"*