A patch to fix replica/pull ... network to work with anonymous sources and add options to 9fs, that make it possible for new users to access 9fs. The solution to have a second case was choosen, so there won't be irritations in the future, about; if we are now using sources anonymiously or not. Notes: Thu Feb 9 10:40:45 EST 2006 rsc Thanks for pointing out that /dist/replica/network wasn't doing the right thing. I've fixed it to use 9fs sources. I do not want 9fs anonsources -- the way to access sources has always been "9fs sources" and I do not want that to change. I did clean up case sources in /rc/bin/9fs though. Russ Reference: /n/sources/patch/applied/9fs-patch-anon Date: Wed Feb 8 10:59:27 CET 2006 Reviewed-by: rsc --- /rc/bin/9fs Wed Feb 8 10:58:47 2006 +++ /rc/bin/9fs Wed Feb 8 10:58:42 2006 @@ -19,9 +19,17 @@ mount -C /srv/boot /n/other other case juke srv -q il!jukefs && mount /srv/il!jukefs /n/njuke && bind -c /n/njuke/juke /n/juke +case anonsources + srv -q tcp!sources.cs.bell-labs.com anonsources && + mount -n /srv/anonsources /n/sources +case anonsourcesdump + 9fs anonsources + mount /srv/anonsources /n/sourcesdump main/archive +case anonsourcessnap + 9fs anonsources + mount /srv/anonsources /n/sourcessnap main/snapshot case sources - srv -q tcp!sources.cs.bell-labs.com sources /n/sources && - mount -n /srv/sources /n/sources + srv -q tcp!sources.cs.bell-labs.com sources /n/sources case sourcesdump 9fs sources mount /srv/sources /n/sourcesdump main/archive --- /dist/replica/network Wed Feb 8 10:59:08 2006 +++ /dist/replica/network Wed Feb 8 10:59:03 2006 @@ -5,7 +5,8 @@ serverlog=$s/plan9.log serverproto=$s/plan9.proto fn servermount { - srv tcp!sources.cs.bell-labs.com sources /n/sources + srv tcp!sources.cs.bell-labs.com anonsources + mount -n /srv/anonsources /n/sources bind /n/sources/plan9 /n/dist } fn serverupdate { status='' }