summaryrefslogtreecommitdiff
path: root/rc/bin/9fs
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2016-07-02 21:15:39 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2016-07-02 21:15:39 +0200
commit5fc7cdbbccfe7205698ddf9f5a4a4ae8092128c2 (patch)
treef431ea8aa668957b61ec348c716e16f756f361c8 /rc/bin/9fs
parent1edd8d28a56578307df36967d51f16703d8f33bd (diff)
downloadplan9front-5fc7cdbbccfe7205698ddf9f5a4a4ae8092128c2.tar.xz
9fs: remove juke, kfs and snap targets, caching for other and dump
Diffstat (limited to 'rc/bin/9fs')
-rwxr-xr-xrc/bin/9fs16
1 files changed, 2 insertions, 14 deletions
diff --git a/rc/bin/9fs b/rc/bin/9fs
index 5defb7984..db8b01094 100755
--- a/rc/bin/9fs
+++ b/rc/bin/9fs
@@ -28,20 +28,8 @@ case 9fat esp pidos dos
unmount /n/9 >/dev/null >[2]/dev/null
mount -c /srv/dos /n/9 $part
}
-case kfs
- if(! test -f /srv/kfs)
- 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 dump other
+ mount -C /srv/boot /n/$1 $1
case sources
srv -nqC tcp!sources.cs.bell-labs.com sources /n/sources
case sourcesdump