Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#!/bin/rc
2
 
3
rfork e
4
part=`{ls /dev/fs/9fat /dev/sd*/9fat >[2]/dev/null}
5
if(~ $#part 0) {
6
	echo 'no 9fat partition found' >[1=2]
7
	exit no.9fat
8
}
9
 
10
part=$part(1)
11
 
12
if(! test -f /srv/dos)
13
	dossrv >/dev/null </dev/null >[2]/dev/null
14
 
15
unmount /n/9fat >/dev/null >[2]/dev/null
16
mount -c /srv/dos /n/9fat $part
17
unmount /n/9 >/dev/null >[2]/dev/null
18
mount -c /srv/dos /n/9 $part