From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <39b3c067814d8d4554b3ddad69761d7f@quanstro.net> References: <39b3c067814d8d4554b3ddad69761d7f@quanstro.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <07A98E46-F560-4BCB-B4EC-CDCB04605A7F@mac.com> Content-Transfer-Encoding: 7bit From: Pietro Gagliardi Subject: Re: [9fans] Corrupted file entry on QEMU - how to recover? Date: Sun, 16 Dec 2007 11:54:29 -0500 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: 1a542252-ead3-11e9-9d60-3106f5b1d025 fossil/flchk expects a venti server and I don't know how to tell it to suppress one (-h something) since I have insufficient disk space for venti. As for rcons, every time I try the commands fossil/conf spits out, the last one always exits with the errors I described before and then "fsys main check" doesn't work ("fsys main not open"). On Dec 16, 2007, at 11:25 AM, erik quanstrom wrote: >> I'm downloading the latest install disc right now, but how do I get a >> fossil onto the system? mount -m/n/myfossl /dev/sdC0/fossil? > > you likely want to use fossil/flcheck and fossil/conf to see if the > configuration looks sane first. > > fossil typically reads its configuration when given the -f option. > you might not want that. if things are goofy, it might be easier > to start up a fossil with no commands except one to start > a console. > > fossil -c 'srv -p rcons' > > and then enter configuration by hand and fossil's console. > you can use fossil/conf to see what commands are normally used > to start fossil. > > the only problem with this way of debugging things is you need > to remember that the kernel adds a few commands when it > boots: > > ; g /boot/fossil /sys/src/9/boot/local.c|grep run > /sys/src/9/boot/local.c:254: run("/boot/fossil", "-f", partition, > "-c", "srv -A fboot", "-c", "srv -p fscons", 0); > > if your fossil's really corrupt, perhaps you have a dma issue? > > - erik