From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [9fans] Fossil questions Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) From: John Packer To: 9fans@cse.psu.edu Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: <3C0C125A-33E8-11D7-B810-000A27AE643E@sockfarm.net> Date: Wed, 29 Jan 2003 19:17:36 -0500 Topicbox-Message-UUID: 4a92e7e4-eacb-11e9-9e20-41e7f4b1d025 Thanks for your help, Russ. That worked nicely. John Packer On Tuesday, January 28, 2003, at 09:02 PM, Russ Cox wrote: >> Suppose I didn't have a score at all. Is there some way to >> recover the most recent score, perhaps from the venti server? > > Yes. Since the data is not encrypted, if you have access to > the raw disk partitions storing the arenas, you can find > anything you want. > >> Also, though it's no big loss, is everything stored on Venti >> in the last two days inaccessible? > > Do a pull to get the new file /sys/src/cmd/venti/printarena.c > and then > > cd /sys/src/cmd/venti > mk 8.printarena > > Then, run this on the Venti server as the host owner: > > cd /sys/src/cmd/venti > ventihttp=your-server:8000 > hget http://$ventihttp/index | > awk ' > /^index=/ { blockSize=0+substr($3, 11); } > /^arena=/ { arena=substr($1, 7); } > /^ arena=/ { start=0+substr($5, 2)-blockSize; printf("./8.printarena > -o %d %s\n", start, $3); }' | > rc | > sed -n 's/^(.*) 1$/vac:\1/p' > > to get a list of all the vac archives on the server. > > Russ