In message <[EMAIL PROTECTED]>, Pedro Martelletto writes:
> On Tue, Sep 05, 2006 at 07:24:55PM +0200, Igor Sobrado wrote:
> > Indeed, it is a BSD disklabel related problem not a ffs's one.
> 
> It *is* a FFS problem. The superblocks are different.

The BSD disklabel provides information not only about the disk partitions
but also about the geometry of the disk--these parameters clearly differ
between NetBSD and OpenBSD.  (Certainly I do not think that it is a BIOS
issue in this case.)

If the geometry of the disk differs in NetBSD and OpenBSD any command
that uses this information can damage the filesystem.  I do not know
if you are right, but certainly diverging disklabels can explain the
problem I outlined in the first message to this thread; even worse,
diverging disklabels are an excellent foundation for my fear about
future damages to the files stored in the media.

It would be nice making the disklabels (and superblocks if different)
compatible again.  Don't know the advantages of diverging disklabels
(but I guess that BSD developers have not changed the disklabels in
incompatible ways without good reasons to do it) but, certainly, the
ffs/ffs2 filesystems should strictly follow the model proposed by
McKusick for ffs and soft updates in the papers published at ACM TOCS.

Cheers,
Igor.

Reply via email to