From owner-freebsd-fs Sun Oct 1 10: 3:57 2000 Delivered-To: freebsd-fs@freebsd.org Received: from mail.webmonster.de (datasink.webmonster.de [194.162.162.209]) by hub.freebsd.org (Postfix) with SMTP id D52BC37B502 for ; Sun, 1 Oct 2000 10:03:51 -0700 (PDT) Received: (qmail 446 invoked by uid 1000); 1 Oct 2000 17:03:50 -0000 Date: Sun, 1 Oct 2000 19:03:50 +0200 From: "Karsten W. Rohrbach" To: Bruce Evans Cc: Greg Lehey , Andre Albsmeier , Marc Tardif , freebsd-fs@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: ccd with other filesystems Message-ID: <20001001190350.B304@rohrbach.de> Reply-To: karsten@rohrbach.de References: <20001001114540.G43885@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from bde@zeta.org.au on Sun, Oct 01, 2000 at 11:32:29PM +1100 X-Arbitrary-Number-Of-The-Day: 42 X-Sender: karsten@rohrbach.de Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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? > > > It should only create file systems on > > partitions of type 4.2BSD. Does anybody disagree? Otherwise I'll fix > > it. > > Disagree. The filesystem type field is normally an output of newfs, not > an input. thats new for me... /k -- > Sure eating yogurt will improve your sex life. People know that if > you'll eat that stuff, you'll eat anything. KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message