Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Nov 2002 17:45:16 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Doug Rabson <dfr@nlsystems.com>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libdisk write_alpha_disk.c 
Message-ID:  <79716.1036773916@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 08 Nov 2002 11:39:32 EST." <XFMail.20021108113932.jhb@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <XFMail.20021108113932.jhb@FreeBSD.org>, John Baldwin writes:

>The problematic ioctl() seems to be in rewritelabel().  I don't know why
>newfs now doesn't produce the same disklabel as libdisk.  Perhaps libdisk's
>disklabel's are buggy but no one's noticed because newfs fixes them up?

newfs writes two numbers which helps fsck find superblocks if the first
superblock is toast.  Libdisk has no idea about proper values for these.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?79716.1036773916>