> 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