Right now, I'm trying to get function definitions off of the plan9
file so I can rebuild my profile. This should be as easy as grep.
On Dec 29, 2007, at 11:33 AM, Pietro Gagliardi wrote:
OK, I'm going to hold this off for the new year. Until then, I
managed to free up a lot of space (and am continuing to do so), so
this time I'll put up a new 4GB QEMU fossil+venti Plan 9 and save
the old disk until I can fix it.
On Dec 27, 2007, at 11:23 AM, Russ Cox wrote:
Can someone PLEASE give me some information so I can get my files
back? Otherwise, there goes my 3D library, my hoc implementation,
etc.
I'm afraid you're probably out of luck, without a lot of work.
The disk data structures are all described in /sys/doc/fossil.ps.
If you were using snapshots, then you might be able to
use the information in /sys/doc/fossil.ps to write a program
to find all the fossil snapshot roots, and then you
could rewrite the super block to point at an older,
hopefully not corrupt, root.
However, it looks like in plain fossil mode (not fossil+venti),
the installer does not configure any snapshots, so you'd
have had to turn them on yourself.
Without snapshots, you'd have to poke around on the
disk looking for a VtSource that looked like the root
directory and then fix up the root block to be valid and
point at it.
If you're not used to poking at file system data structures,
this might well be more work than just recreating your
hoc and 3D code.
Russ