From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <8aa0fc5d47540ca24e1a89f6336a7564@plan9.bell-labs.com> From: "Russ Cox" To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] online updates now available Date: Tue, 21 May 2002 16:44:53 -0400 Topicbox-Message-UUID: 994f503a-eaca-11e9-9e20-41e7f4b1d025 We have set up a Plan 9 file server to distribute updates using the replica(1) tools. To create an account on the server, you must go to the web page http://plan9.bell-labs.com/plan9dist/newaccount.html and answer The Questions one final time. Once you have created an account, you will be presented with instructions for updating your Plan 9 installation. To update your kfs system, run the following script (if you set up a non-kfs file server, you'll have to edit to suit): cat >/tmp/network <<'!' #!/bin/rc s=/n/dist/dist/replica serverroot=/n/dist serverlog=$s/plan9.log serverproto=$s/plan9.proto fn servermount { srv tcp!sources.cs.bell-labs.com sources /n/sources bind /n/sources/plan9 /n/dist } fn serverupdate { status='' } fn clientmount { 9fs kfs } c=/n/kfs/dist/replica clientroot=/n/kfs clientdb=$c/client/plan9.db clientexclude=(dist/replica/client) clientlog=$c/client/plan9.log applyopt=(-u -T$c/client/plan9.time) ! chmod +x /tmp/network cat >>/net/ndb <<'!' auth=sources.cs.bell-labs.com authdom=outside.plan9.bell-labs.com ! echo -n refresh >/net/cs disk/kfscmd allow replica/pull -v /tmp/network After running this, you'll be able to use disk/kfscmd allow replica/pull -v /dist/replica/network to retrieve future updates. See replica(1) for more information. If you have customized /lib/ndb/local, the update will not overwrite it. Instead, add the following line: auth=sources.cs.bell-labs.com authdom=outside.plan9.bell-labs.com The additional packages are also available on the same server. After updating, you can do 9fs sources ls -l /n/sources/extra to see them. Enjoy.