X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=rc%2Fbin%2F9fs;h=db8b01094a53e224a3266228590be159030dc084;hb=5fc7cdbbccfe7205698ddf9f5a4a4ae8092128c2;hp=5781206805cb05497a711ed8479b0553127e499e;hpb=c4fdc6bfdb2211e13643d5fba75edf437c122eef;p=plan9front.git diff --git a/rc/bin/9fs b/rc/bin/9fs index 578120680..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 @@ -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}