Subject: Re: dump_lfs issue
To: Juan RP <juan@xtrarom.org>
From: Marcin Michal Jessa <m.jessa@gmail.com>
List: current-users
Date: 05/01/2007 03:42:32
On 5/1/07, Juan RP <juan@xtrarom.org> wrote:
> On Mon, 30 Apr 2007 16:33:39 -0600 (MDT)
> "Michael L. Hitch" <mhitch@lightning.msu.montana.edu> wrote:
>
> > On Mon, 30 Apr 2007, Konrad Schroder wrote:
> >
> > > If you did use -A, you may have to search the disk for superblocks.  I
> > > don't have a tool that does this, but something like
> >
> >    There's a scan_ffs command in 4.0 or later that is supposed to search
> > for FFSv1, FFSv2, and LFS superblocks.
>
> Yeah... it should find the LFS partition, at least on my test seems to
> work fine:
>
> $ scan_ffs -l vnd0
> Disk: vnd
> Total sectors on disk: 7581696
>
> #        size    offset fstype [fsize bsize cpg/sgs]
> X:      16384         0 4.2BSD    512  4096       1 #  [FFSv1]
> X:      16384     16384 4.2BSD    512  4096       0 #  [FFSv2]
> X:    1048576     32768 4.2BSD   1024  8192       1 #  [FFSv1]
> X:    1048576   1081344 4.2BSD   1024  8192       0 #  [FFSv2]
> X:    1048576   2129920 4.4LFS   1024  8192     282 #  [LFSv2]
> X:    4403200   3178496 4.2BSD   2048 16384       0 #  [FFSv2]
> $
>
> And of course the offset/size/fsize/bsize values are ok.

How can you figure out the next number of the super-block backup
from this output?