Subject: Re: Direct disk editing & regenerating partition info.
To: David Maxwell <david@vex.net>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 05/23/2002 12:59:01
Thanks! That's perfect!

Now just as long as I don't hose the numbers as I'm fixing things...

On Thu, 23 May 2002, David Maxwell wrote:

> That was to solve Hisashi T Fujinaka's problem, not your question.
> Even if /var/backups/ was on a filesystem whose disklabel was lost, it
> will at least give some easy to find text to search the disk for...
>
> strings /dev/rwd0d | less +/\/dev\/rwd0d:\$
>
> If /var/backups was on /, then write a disklabel with an a partition
> that's bigger than the original / was, mount it readonly (It doesn't
> matter if the disklabel doesn't match - the fs code will read the
> superblock) go read /var/backups and fix the disklabel...


-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE (6/86) + BSChem (3/95) + BAEnglish (8/95) + $2.50 = mocha latte