Subject: Re: dump_lfs issue
To: Konrad Schroder <>
From: Juan RP <>
List: current-users
Date: 05/01/2007 02:43:55
On Mon, 30 Apr 2007 17:29:42 -0700 (PDT)
Konrad Schroder <> wrote:

> On Tue, 1 May 2007, Marcin Michal Jessa wrote:
> > On 5/1/07, Juan RP <> wrote:
> >> Yeah... it should find the LFS partition, at least on my test seems to
> >> work fine:
> I could be wrong about this, but it would appear from the source (and
> your example) that scan_ffs will not give the address of the superblock 
> relative to the partition, but attempts to infer the address of the 
> partition from the superblock(s) it finds on the raw disk.  So the number 
> it reports will be off by 16.  Still better than the shell script I
> posted :^) but it seems important to understand the limitations.

You are not wrong. Do you mean that the offset value reported by
scan_ffs, will be off by 16?

Or are you talking about the sector number for the superblock?

Juan RP's blog - NetBSD/pkgsrc news in Spanish