From owner-cvs-all Mon Jan 27 12: 3:36 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 1E37237B401 for ; Mon, 27 Jan 2003 12:03:34 -0800 (PST) Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8ED743F3F for ; Mon, 27 Jan 2003 12:03:31 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 8891 invoked from network); 27 Jan 2003 20:03:35 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 27 Jan 2003 20:03:35 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h0RK3QUT057936; Mon, 27 Jan 2003 15:03:26 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20030127043106.GL94229@wantadilla.lemis.com> Date: Mon, 27 Jan 2003 15:03:31 -0500 (EST) From: John Baldwin To: "Greg 'groggy' Lehey" Subject: Re: cvs commit: src/usr.sbin/sysinstall label.c Cc: Matthew Dillon , cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, Matt Dillon , "David O'Brien" 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 27-Jan-2003 Greg 'groggy' Lehey wrote: > 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. This is an old bug that I fixed a while ago. :) sysinstall now knows when existing partitions are swap again. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message