From owner-freebsd-current Tue Feb 4 0: 4:29 2003 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 94C9637B401 for ; Tue, 4 Feb 2003 00:04:28 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E13B43F43 for ; Tue, 4 Feb 2003 00:04:27 -0800 (PST) (envelope-from phk@freebsd.org) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h1484NYu017775; Tue, 4 Feb 2003 09:04:23 +0100 (CET) (envelope-from phk@freebsd.org) To: Garance A Drosihn Cc: current@freebsd.org Subject: Re: Minor oddity with sysinstall/disklabel on -current From: phk@freebsd.org In-Reply-To: Your message of "Tue, 04 Feb 2003 02:59:22 EST." Date: Tue, 04 Feb 2003 09:04:23 +0100 Message-ID: <17774.1044345863@critter.freebsd.dk> 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 In message , Garance A Drosihn writes: >So, I'm trying something on -current. > >I boot up, log into root. I have two hard disks on the system. All >of my mounted partitions are on ad0, except for one partition on ad2. >I 'umount' that partition. I run the Disklabel Editor via sysinstall. >I delete that partition, and then re-create it as a UFS2 partition. >I do the 'w'rite, and everything looks fine. > >I drop out of sysinstall, do some things with that partition, and >then decide to redo the above sequence. Everything has been working >fine, but I'm just testing some things and I end up in a position >where it's quicker to newfs the partition than it is to 'rm' the >files on it. So, I do the same exact sequence (starting with the >'umount' before running sysinstall), and this time when I do the >'w'rite, I am told: > > ERROR: Unable to write data to disk ad2! My guess is that sysinstall (bogusly) did a swapon for the 'b' parititon on your ad2 disk. -- 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 freebsd-current" in the body of the message