2 # 9fs filesystem [mountpoint] - srv & mount filesystem, usually from plan 9
7 echo usage: 9fs service '[mountpoint]' >[1=2]
10 if(! test -f /srv/kfs)
12 mount -c /srv/kfs /n/kfs
14 mount /srv/boot /n/dump dump >[2]/dev/null ||
15 mount /srv/boot /n/dump main/archive ||
16 mount /srv/boot /n/dump dump # again to print error
18 mount /srv/boot /n/snap main/snapshot
20 mount -C /srv/boot /n/other other
21 case juke # ye olde file server
22 srv -q il!jukefs && mount /srv/il!jukefs /n/juke
24 srv -nq tcp!sources.cs.bell-labs.com sources /n/sources
27 mount -n /srv/sources /n/sourcesdump main/archive
30 mount -n /srv/sources /n/sourcessnap main/snapshot
31 # arbitrary venti archives
37 if not if (! ~ $1 /* && test -e $home/lib/vac/$1)
38 score=$home/lib/vac/$1
39 if not if (! ~ $1 /* && test -e /lib/vac/$1)
42 echo $0: $1: no such score file >[1=2]
45 vacfs -m /n/`{basename $1 .vac} `{cat $score}
47 srv -m 'net!plan9.bell-labs.com!wiki' wiki /mnt/wiki