9fs: remove juke, kfs and snap targets, caching for other and dump
This commit is contained in:
parent
1edd8d28a5
commit
5fc7cdbbcc
1 changed files with 2 additions and 14 deletions
16
rc/bin/9fs
16
rc/bin/9fs
|
@ -28,20 +28,8 @@ case 9fat esp pidos dos
|
||||||
unmount /n/9 >/dev/null >[2]/dev/null
|
unmount /n/9 >/dev/null >[2]/dev/null
|
||||||
mount -c /srv/dos /n/9 $part
|
mount -c /srv/dos /n/9 $part
|
||||||
}
|
}
|
||||||
case kfs
|
case dump other
|
||||||
if(! test -f /srv/kfs)
|
mount -C /srv/boot /n/$1 $1
|
||||||
disk/kfs
|
|
||||||
mount -c /srv/kfs /n/kfs
|
|
||||||
case dump
|
|
||||||
mount /srv/boot /n/dump dump >[2]/dev/null ||
|
|
||||||
mount /srv/boot /n/dump main/archive ||
|
|
||||||
mount /srv/boot /n/dump dump # again to print error
|
|
||||||
case snap
|
|
||||||
mount /srv/boot /n/snap main/snapshot
|
|
||||||
case other
|
|
||||||
mount -C /srv/boot /n/other other
|
|
||||||
case juke # ye olde file server
|
|
||||||
srv -q il!jukefs && mount /srv/il!jukefs /n/juke
|
|
||||||
case sources
|
case sources
|
||||||
srv -nqC tcp!sources.cs.bell-labs.com sources /n/sources
|
srv -nqC tcp!sources.cs.bell-labs.com sources /n/sources
|
||||||
case sourcesdump
|
case sourcesdump
|
||||||
|
|
Loading…
Reference in a new issue