From: "Russ Cox" <rsc@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Fossil questions
Date: Tue, 28 Jan 2003 21:02:21 -0500 [thread overview]
Message-ID: <ecdbd96a3a0c2eadcab5ac6b7a912a62@plan9.bell-labs.com> (raw)
In-Reply-To: <2E3A344C-332A-11D7-9C05-000A27AE643E@sockfarm.net>
> 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
next prev parent reply other threads:[~2003-01-29 2:02 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-08 6:45 [9fans] 4th edition file server available Russ Cox
2003-01-08 11:09 ` Axel Belinfante
2003-01-08 15:57 ` Fco.J.Ballesteros
2003-01-08 15:56 ` andrey mirtchovski
2003-01-08 16:53 ` Russ Cox
2003-01-08 22:52 ` Andrew
2003-01-08 22:54 ` Russ Cox
2003-01-09 8:24 ` Fco.J.Ballesteros
2003-01-09 13:16 ` Axel Belinfante
2003-01-29 1:37 ` [9fans] Fossil questions John Packer
2003-01-29 2:02 ` Russ Cox [this message]
2003-01-30 0:17 ` John Packer
2003-01-30 16:58 ` Tharaneedharan Vilwanathan
2003-01-30 17:22 ` Russ Cox
2003-07-23 19:23 [9fans] Fossil Questions Christopher Nielsen
2003-07-24 3:11 ` Christopher Nielsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ecdbd96a3a0c2eadcab5ac6b7a912a62@plan9.bell-labs.com \
--to=rsc@plan9.bell-labs.com \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).