From owner-freebsd-current Fri Nov 29 23: 0:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A11AE37B401 for ; Fri, 29 Nov 2002 23:00:35 -0800 (PST) Received: from beastie.mckusick.com (beastie.mckusick.com [209.31.233.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 434F443E9C for ; Fri, 29 Nov 2002 23:00:35 -0800 (PST) (envelope-from mckusick@beastie.mckusick.com) Received: from beastie.mckusick.com (localhost [127.0.0.1]) by beastie.mckusick.com (8.12.3/8.12.3) with ESMTP id gAU70V59078064; Fri, 29 Nov 2002 23:00:31 -0800 (PST) (envelope-from mckusick@beastie.mckusick.com) Message-Id: <200211300700.gAU70V59078064@beastie.mckusick.com> To: Bruce Evans Subject: Re: Trashed Disk Labels Cc: current@FreeBSD.ORG, Poul-Henning Kamp In-Reply-To: Your message of "Sat, 30 Nov 2002 17:43:53 +1100." <20021130174229.L3363-100000@gamplex.bde.org> Date: Fri, 29 Nov 2002 23:00:31 -0800 From: Kirk McKusick Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Date: Sat, 30 Nov 2002 17:43:53 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Kirk McKusick cc: current@FreeBSD.ORG Subject: Re: Trashed Disk Labels In-Reply-To: <200211291938.gATJcS59077381@beastie.mckusick.com> X-ASK-Info: Whitelist match On Fri, 29 Nov 2002, Kirk McKusick wrote: > I have had a report of a disk label getting trashed after booting > up to a kernel with the new UFS2 superblock format. I have just > checked in an update to ufs/ffs/ffs_vfsops.c (version 1.198) that > explicitly checks to make sure that it will not trash your disk > label. I highly recommend that you update to this version, even if > you are only running with UFS1 filesystems. Labels should be write protected, but this seems to have been broken by GEOM. Bruce Disk labels certainly used to be write protected. Not sure when that stopped, but it certainly would have been useful in this recent context. Kirk McKusick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message