]> git.lizzy.rs Git - plan9front.git/blobdiff - rc/bin/9fs
9fs: remove juke, kfs and snap targets, caching for other and dump
[plan9front.git] / rc / bin / 9fs
index 5781206805cb05497a711ed8479b0553127e499e..db8b01094a53e224a3266228590be159030dc084 100755 (executable)
@@ -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
@@ -54,6 +42,17 @@ case atom
        srv -nq tcp!atom.9atom.org atom && mount -nC /srv/atom /n/atom atom
 case atomdump
        9fs atom && mount -nC /srv/atom /n/atomdump atomdump
+case 9pio
+       srv -nq tcp!9p.io 9pio && mount -nC /srv/9pio /n/9pio
+case 9front
+       9fs 9front.org
+       for(i in 9front extra fqa hardware iso lists pkg sites)
+               bind /n/9front.org/$i /n/$i
+       9fs tcp!9front.org!7734
+       bind -b /n/9front.org!7734 /n/lists
+       9fs contrib.9front.org
+       for(i in bugs contrib sources)
+               bind /n/contrib.9front.org/$i /n/$i
 # arbitrary venti archives
 case vac:*
        vacfs <{echo $1}