9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Steve Simon" <steve@quintile.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] farewell to /sys/src/fs and IL
Date: Fri, 31 Aug 2007 23:12:33 +0100	[thread overview]
Message-ID: <9f33c00d81eb0839108248e9c1cc0b20@quintile.net> (raw)
In-Reply-To: <8ccc8ba40708311203o4f658e17k2ca0d86a1315a56c@mail.gmail.com>

> anyone have any notes on migrating from kenfs to fossil/venti?

I copied some old tar and zip archives from tapes
and cds a while back thusly:

	cpu% @{cd /n/cdrom/fred/1-Apr-2001 && tar cf /fd/1 .} | @{cd /usr/steve/tmp/2001/0104/usr/fred && tar xTf /fd/0}
	cpu% con -l /srv/fscons
	prompt: fsys main snap -a -s /active/usr/steve/tmp/2002/0104 -d /archive/2002/0104

This is from memory but I think its right.

Though it would probably be better to do this using mkfs|extfs rather
than tar|tar to preserve as much plan9 metadata as possible. Note you can
only transfer as much data as you have space in your fossil store.

<wistful>

I have always planed to add an option to fossil to allow you to install
a given venti score in a named directory, this would allow you to just
vac(1) up a directory hierarchy and then install its score using somthing like

	
	cpu% vac /n/cdrom/fred/1-Apr-2001 
	vac:64daefaecc4df4b5cb48a368b361ef56012a4f46
	cpu% con -l /srv/fscons
	prompt: fsys main snap -a -v vac:64daefaecc4df4b5cb48a368b361ef56012a4f46 -d /archive/2002/0104

This would have the advantage of collecting all metadata correctly and allowing
archives bigger than your fossil disk to be installed.

Unfortunately though I had a look at this I never understood the
fossil code well enough to work out how to do it.

</wistful>

-Steve


  parent reply	other threads:[~2007-08-31 22:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-30 22:27 geoff
2007-08-31 18:22 ` erik quanstrom
2007-08-31 18:42   ` Skip Tavakkolian
2007-08-31 19:03     ` Francisco J Ballesteros
2007-08-31 19:04       ` Francisco J Ballesteros
2007-08-31 19:15         ` erik quanstrom
2007-08-31 19:23           ` erik quanstrom
2007-08-31 22:12       ` Steve Simon [this message]
2007-08-31 19:14     ` Eric Van Hensbergen
2007-08-31 19:42       ` geoff
2007-08-31 19:30   ` geoff
2007-08-31 19:35     ` erik quanstrom

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=9f33c00d81eb0839108248e9c1cc0b20@quintile.net \
    --to=steve@quintile.net \
    --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).