shithub: riscv

Download patch

ref: 5fc7cdbbccfe7205698ddf9f5a4a4ae8092128c2
parent: 1edd8d28a56578307df36967d51f16703d8f33bd
author: cinap_lenrek <[email protected]>
date: Sat Jul 2 17:15:39 EDT 2016

9fs: remove juke, kfs and snap targets, caching for other and dump

--- a/rc/bin/9fs
+++ b/rc/bin/9fs
@@ -28,20 +28,8 @@
 		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