From owner-cvs-all Sun Jan 26 20:31:12 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE31037B401; Sun, 26 Jan 2003 20:31:10 -0800 (PST) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC68043F1E; Sun, 26 Jan 2003 20:31:08 -0800 (PST) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 8FABF51978; Mon, 27 Jan 2003 15:01:06 +1030 (CST) Date: Mon, 27 Jan 2003 15:01:06 +1030 From: Greg 'groggy' Lehey To: David O'Brien , Matt Dillon , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, Matthew Dillon Subject: Re: cvs commit: src/usr.sbin/sysinstall label.c Message-ID: <20030127043106.GL94229@wantadilla.lemis.com> References: <200301251932.h0PJWZHo054126@repoman.freebsd.org> <20030125215919.GA6687@HAL9000.homeunix.com> <20030126013124.GD3641@sydney.worldwide.lemis.com> <20030126210426.GA23132@dragon.nuxi.com> <200301262108.h0QL8WRs068598@apollo.backplane.com> <200301251932.h0PJWZHo054126@repoman.freebsd.org> <20030125215919.GA6687@HAL9000.homeunix.com> <20030126013124.GD3641@sydney.worldwide.lemis.com> <20030126210426.GA23132@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200301262108.h0QL8WRs068598@apollo.backplane.com> <20030126210426.GA23132@dragon.nuxi.com> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sunday, 26 January 2003 at 13:04:26 -0800, David O'Brien wrote: > On Sun, Jan 26, 2003 at 09:31:24AM +0800, Greg Lehey wrote: >> I second this. There are cases where you're installing a second >> FreeBSD system on a disk, and there's a swap partition on another >> slice. Currently there's no way to tell sysinstall to use this >> partition, > > There isn't?? Well, at any rate I haven't been able to find one. > Sysinstall asks you to select a disk, not a slice, at the fdisk > menu. After that, when you go into the lable menu you see all the > slices and their [BSD] partition types. Am I missing something in > what you say? Maybe. On Sunday, 26 January 2003 at 13:08:32 -0800, Matthew Dillon wrote: > If someone explains to me how to reproduce the sysinstall swap > issue I will try to track it down and fix it. At worst > sysinstall should simply try to run without swap. Here's what I did: I have a disk with 4 BIOS slices, all FreeBSD. ad0s[134] have FreeBSD disk labels, and two of them have swap space. I want to install a root file system, and nothing else, on ad0s2. I go to the partition menu, then the label menu, which shows the existing partitions without a type. I can select a mount point with the m command, but it doesn't give me the option to declare it to be swap, and if I enter "swap" it complains about the name not starting with /. I suppose I could delete one of the swap partitions and recreate it, assuming that the slice is full, but that sounds dangerous, and it's tacky at the best. It seems that it should be relatively trivial to modify sysinstall to offer the choice of file system or swap when you select the m command. Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message