plan9fox/rc/bin/D003753
2011-03-30 18:29:07 +00:00

11 lines
255 B
Bash
Executable file

#!/bin/rc
rfork e
flop=/dev/fd0disk
if(! test -r $flop)
flop='#f'/fd0disk
if(! test -f /srv/dos)
dossrv >/dev/null </dev/null >[2]/dev/null
unmount /n/a:>[2]/dev/null
mount -c /srv/dos /n/a: $flop
unmount /n/a >[2]/dev/null
mount -c /srv/dos /n/a $flop