From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: <4584997B-ED8E-4B07-99DC-3E14CB93D909@mac.com> References: <20071227212323.DDA581E8C1C@holo.morphisms.net> <4584997B-ED8E-4B07-99DC-3E14CB93D909@mac.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Pietro Gagliardi Subject: Re: [9fans] Corrupted file entry on QEMU - how to recover? Date: Sat, 29 Dec 2007 14:06:23 -0500 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: 23af21a8-ead3-11e9-9d60-3106f5b1d025 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 >> >