From owner-freebsd-questions Thu Dec 30 12:38:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id AF0A014FE7 for ; Thu, 30 Dec 1999 12:38:38 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.8.8/8.8.8) id VAA18132 for freebsd-questions@FreeBSD.ORG; Thu, 30 Dec 1999 21:38:15 +0100 (CET) (envelope-from olli) Date: Thu, 30 Dec 1999 21:38:15 +0100 (CET) From: Oliver Fromme Message-Id: <199912302038.VAA18132@dorifer.heim3.tu-clausthal.de> To: freebsd-questions@FreeBSD.ORG Subject: Re: UFS on extended partition? Organization: Administration TU Clausthal Reply-To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: TIN [version 1.2 RZTUC(3) PL2] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mojahedul Hoque Abul Hasanat wrote in list.freebsd-questions: > Is it possible to create a UFS file system in a --- what is > called an "extended partition" in dos-speak? Yes, it is possible. > In other words, I want to make a BSD "slice" out of a so called > extended partition. Yes, I know I can take the free space out of > the DOS extended partition and create a slice on it, but I'm > curious. > > Any hints/links/RTFMs appreciated. The so-called ``logical drives in the extended DOS partition'' (yes, it's called that way) are numbered starting with 5 after the primary partitions. In other words: da0s1 - da0s4 are your four primary partitions (you cannot have more than four of them), and da0s5 is your first logical drive in the extended DOS partition, da0s6 is the second one, etc. (Assuming that you have SCSI disks. If you have IDE disks, substitute ``wd'' or ``ad'' for ``da'', as appropriate.) Note that the extended stuff always starts at 5, even if you have fewer than four primary partitions. (Technically, there are _always_ four primary partition entries, but some of them may be empty / unused.) So you can basically ``disklabel -w -r da0s5 auto'', then edit the disklabel as appropriate, then newfs your partition(s). Refer to ``man 8 disklabel'' and ``man newfs'' for details. I think this is also in the FAQ / Handbook... Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message