ref: 8812bfe24cab922f983fd9a6cc4fb3b3527c28ca
dir: /newsrv/
#!/bin/rc -x
# newsrv - create a new /srv device
# usage: newsrv command
rfork ens
<[3]/srv/clone{
id=`{<[0=3]read}
<[3=]@{ # close the clone fd
rfork n
bind -c /srv/$id /srv
rc -c $*
}
}