git: 9front

Download patch

ref: 5ad10b74ba13d5b3d41ad278716fd6803e28c540
parent: 7f9966cae40e60fd72059540e0c4165e1d07a643
author: cinap_lenrek <cinap_lenrek@felloff.net>
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
--