From 5fc7cdbbccfe7205698ddf9f5a4a4ae8092128c2 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sat, 2 Jul 2016 21:15:39 +0200 Subject: [PATCH] 9fs: remove juke, kfs and snap targets, caching for other and dump --- rc/bin/9fs | 16 ++-------------- 1 file 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