From owner-cvs-all Fri Nov 8 8:45:38 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABA2537B401; Fri, 8 Nov 2002 08:45:37 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7210843E77; Fri, 8 Nov 2002 08:45:36 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id gA8GjGOr079717; Fri, 8 Nov 2002 17:45:17 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: John Baldwin Cc: Doug Rabson , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libdisk write_alpha_disk.c In-Reply-To: Your message of "Fri, 08 Nov 2002 11:39:32 EST." Date: Fri, 08 Nov 2002 17:45:16 +0100 Message-ID: <79716.1036773916@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message , 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