From owner-freebsd-current@FreeBSD.ORG Sun Sep 21 18:47:16 2003 Return-Path: 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 3882916A4B3 for ; Sun, 21 Sep 2003 18:47:16 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id A73FD43FDD for ; Sun, 21 Sep 2003 18:47:14 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3p2/8.8.7) with ESMTP id LAA12481; Mon, 22 Sep 2003 11:46:40 +1000 Date: Mon, 22 Sep 2003 11:45:18 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: "Marc G. Fournier" In-Reply-To: <20030921173331.S6867@ganymede.hub.org> Message-ID: <20030922113019.T17142@gamplex.bde.org> References: <3F6D92EB.1020102@ciam.ru> <20030921132145.W68357@carver.gumbysoft.com> <20030921173331.S6867@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Sergey Matveychuk cc: current@freebsd.org Subject: Re: -current brake ufs for -stable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2003 01:47:16 -0000 On Sun, 21 Sep 2003, Marc G. Fournier wrote: > On Sun, 21 Sep 2003, Doug White wrote: > > > On Sun, 21 Sep 2003, Sergey Matveychuk wrote: > > > > > I've installed both -current and -stable on my box. One of partition I > > > plan to share betwen them (place ports/distfiles there). > > > I newfs'ed it from -stable and wrote on it from -current. When I booted > > > with -stable I've found the partition FS was broken. > > > I think it's because of extended atributes -current wrote on it. I don't > > > like to turn off extended attributes on -current at all. I'd like to > > > have some option for mount to disable it (I've not found it on manpage). -current doesn't write extended attributes unless you enabled them. Most likely the problem is some breakage of compatibility of superblocks. When I tried sharing a filesystem between RELENG_3 and -current a few months ago, IIRC the obvious bugs were that RELENG_3 crashed on filesystems written to be -current, and running RELENG_3's fdisk fixed the problem but was not run automatically and it reported an alarming number of errors. It should be run automatically, e.g., by using a different dirty flag for each variant -- set all dirty flags on write and only clear the dirty flag for the current variant on unmount. > > If you newfs'd the partition with -current, you made it UFS2. -stable > > can't mount UFS2 partitions. Newfs it with -stable (or the appropirate > > option on -current, I don't recall it) so its mountable on both systems. > > Actually, he did state that "I newfs'ed it from -stable and wrote on it > from -current" ... Anyway, -current doesn't imply UFS2. UFS2 is just the default. I only use it for running benchmarks to determine whether I should use it yet. Bruce