From owner-freebsd-scsi Mon Oct 16 10:12:17 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from mail.webmonster.de (datasink.webmonster.de [194.162.162.209]) by hub.freebsd.org (Postfix) with SMTP id DFA9437B671 for ; Mon, 16 Oct 2000 10:12:10 -0700 (PDT) Received: (qmail 17378 invoked by uid 1000); 16 Oct 2000 17:12:05 -0000 Date: Mon, 16 Oct 2000 19:12:04 +0200 From: "Karsten W. Rohrbach" To: Greg Lehey Cc: Bruce Evans , Andre Albsmeier , Marc Tardif , freebsd-fs@FreeBSD.org, freebsd-scsi@FreeBSD.org Subject: Re: ccd with other filesystems Message-ID: <20001016191204.A17349@rohrbach.de> Reply-To: karsten@rohrbach.de References: <20001001114540.G43885@wantadilla.lemis.com> <20001001190350.B304@rohrbach.de> <20001014193120.D1489@sydney.worldwide.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20001014193120.D1489@sydney.worldwide.lemis.com>; from grog@lemis.com on Sat, Oct 14, 2000 at 07:31:20PM -0700 X-Arbitrary-Number-Of-The-Day: 42 X-Sender: karsten@rohrbach.de Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org let's discuss this in the lounge at the con in two days ;-) whoever wins pays the dinner *grin* /k Greg Lehey(grog@lemis.com)@Sat, Oct 14, 2000 at 07:31:20PM -0700: > 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 -- > "Under capitalism, man exploits man. Under Communism, it's just the > opposite." -- John Kenneth Galbraith KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message