From owner-freebsd-fs Sat Sep 30 19:16:19 2000 Delivered-To: freebsd-fs@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 3C41137B503; Sat, 30 Sep 2000 19:16:11 -0700 (PDT) Received: (from grog@localhost) by wantadilla.lemis.com (8.11.0/8.9.3) id e912Fe844311; Sun, 1 Oct 2000 11:45:40 +0930 (CST) (envelope-from grog) Date: Sun, 1 Oct 2000 11:45:40 +0930 From: Greg Lehey To: "Karsten W. Rohrbach" Cc: Andre Albsmeier , Marc Tardif , freebsd-fs@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: Re: ccd with other filesystems Message-ID: <20001001114540.G43885@wantadilla.lemis.com> References: <20000923133806.B78943@wantadilla.lemis.com> <20000929162846.A698@schlappy.mobile.tld> <20001001040937.E83678@rohrbach.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20001001040937.E83678@rohrbach.de>; from karsten@rohrbach.de on Sun, Oct 01, 2000 at 04:09:37AM +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 4:09:37 +0200, Karsten W. Rohrbach wrote: > Andre Albsmeier(andre@akademie3000.de)@Fri, Sep 29, 2000 at 04:28:46PM +0200: >> On Sat, 23-Sep-2000 at 13:38:06 +0930, Greg Lehey wrote: >>> >>> ... >>> >>>> I ask because I'm not sure how the word "partition" is used >>>> in the manpage, is it suppose to mean a slice (as in DOS >>>> partition) or the partition of a slice? Also, I'm intrigued >>>> by the following passage: >>>> Note that the `raw' partitions of the disks should not be >>>> combined. >>> >>> I really don't understand what this is supposed to mean. >> >> Could this mean that you should not use the 'c' partitions as ccd >> components? I, for example, use the 'a' partitions which start at >> sector 16... > > the 'a' partition is reserved for the rootfs, as 'b' is for swap and > 'c' for the whole device. you should use 'e' and p for payload > (eg. mounted filesystems) None of the partitions is special except for 'c'. By convention we put root file systems on 'a' and swap on 'b', but nothing relies on this convention. > 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. It should only create file systems on partitions of type 4.2BSD. Does anybody disagree? Otherwise I'll fix it. > it is a bad thing[tm] to be able to wedge every single blockdev in your > system by (ab)using newfs. Agreed. 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