From owner-freebsd-install Mon Jan 1 17:25:55 1996 Return-Path: owner-install Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA19851 for install-outgoing; Mon, 1 Jan 1996 17:25:55 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id RAA19822 for ; Mon, 1 Jan 1996 17:25:30 -0800 (PST) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id LAA02700; Tue, 2 Jan 1996 11:54:34 +1030 From: Michael Smith Message-Id: <199601020124.LAA02700@genesis.atrad.adelaide.edu.au> Subject: Re: freebsd and swap space To: leisner@sdsp.mc.xerox.com (Marty Leisner) Date: Tue, 2 Jan 1996 11:54:33 +1030 (CST) Cc: freebsd-install@FreeBSD.ORG In-Reply-To: <9512311753.AA07390@gemini.sdsp.mc.xerox.com> from "Marty Leisner" at Dec 31, 95 09:53:16 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-install@FreeBSD.ORG Precedence: bulk Marty Leisner stands accused of saying: > > > I'm working on a strategy to share swap space between > win95/linux/freebsd and NT using an extended partition... > > >From what I've seen of the freebsd swap space strategy: > 1) we have to select a swap partition within the disk slice Yup, but bear in mind that an unlabelled slice will get a default label with a 'c' partition covering the entire slice. You may be able to use that. > 2) we cannot make a swapfile (we have to swap on a swap partition). Not true at all. See 'vnconfig' (as previously mentioned). > It seems to be working well, I want to implement the same in freebsd... > There doesn't seem to be a mkswap or a swapoff command implemented... You can't stop swapping on a device under FreeBSD, and there's no need for a 'mkswap' command; if the device has a label, you can swap to it. I'm not sure which version of FreeBSD you're running, but boot with '-v' and see if you get a listing of which partitions are assigned to which slices. IIRC, 2.1 will pick up extended DOS partitions. If this is the case, I would expect to see the first DOS partition in the first extended partition to be /dev/?d?s5, and you could try working with that. (You will probably have to make a few appropriate device nodes) > marty leisner@sdsp.mc.xerox.com -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] "Who does BSD?" "We do Chucky, we do." [[