From owner-freebsd-fs Mon Oct 16 12:30: 5 2000 Delivered-To: freebsd-fs@freebsd.org Received: from echunga.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id 891BC37B66C; Mon, 16 Oct 2000 12:29:56 -0700 (PDT) Received: (from grog@localhost) by sydney.worldwide.lemis.com (8.11.0/8.9.3) id e9F2VK603298; Sat, 14 Oct 2000 22:31:20 -0400 (EDT) (envelope-from grog) Date: Sat, 14 Oct 2000 19:31:20 -0700 From: Greg Lehey To: "Karsten W. Rohrbach" Cc: Bruce Evans , Andre Albsmeier , Marc Tardif , freebsd-fs@FreeBSD.org, freebsd-scsi@FreeBSD.org Subject: Re: ccd with other filesystems Message-ID: <20001014193120.D1489@sydney.worldwide.lemis.com> References: <20001001114540.G43885@wantadilla.lemis.com> <20001001190350.B304@rohrbach.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20001001190350.B304@rohrbach.de>; from karsten@rohrbach.de on Sun, Oct 01, 2000 at 07:03:50PM +0200 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sunday, 1 October 2000 at 19:03:50 +0200, Karsten W. Rohrbach wrote: > Bruce Evans(bde@zeta.org.au)@Sun, Oct 01, 2000 at 11:32:29PM +1100: >> On Sun, 1 Oct 2000, Greg Lehey wrote: >> >>> On Sunday, 1 October 2000 at 4:09:37 +0200, Karsten W. Rohrbach wrote: >>>> i dont quite know why it is still possible doing a newfs on a 'c' >>>> partition, since the partition type is 'unused' and not >>>> '4.2BSD'. newfs should check this and throw an error while providing >>>> an expert-only-feature command line option to explicitly override >>>> it. >>> >>> I think this is a bug in newfs. >> >> This is a feature of newfs. It is almost device-independent. E.g., to >> create a filesystem in a regular file with no label in sight: >> >> dd if=/dev/zero of=foo oseek=2779 count=1 >> # -v and ./foo work around device dependence. >> # -T floppy is so that I don't have to type a lot of args for this example. >> newfs -v -T floppy ./foo > > and thats exactly the point... if you use -v it should work, if you dont > the partition type must be 4.2BSD and it must not be mounted. > no more no less? not reasonable? No, that's not really the issue. -v just says "don't make assumptions about the partition from the device name". What we really need here is a "force" flag ("yes, I know it's not a 4.2BSD partition, but do it anyway"). Unfortunately, -f is already taken. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message