From owner-freebsd-hackers Mon Jan 8 18:33:05 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA29568 for hackers-outgoing; Mon, 8 Jan 1996 18:33:05 -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 SAA29545 for ; Mon, 8 Jan 1996 18:32:41 -0800 (PST) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id NAA04222; Tue, 9 Jan 1996 13:00:04 +1030 From: Michael Smith Message-Id: <199601090230.NAA04222@genesis.atrad.adelaide.edu.au> Subject: Re: Add new slice to running system, comments? To: bde@zeta.org.au (Bruce Evans) Date: Tue, 9 Jan 1996 13:00:04 +1030 (CST) Cc: msmith@atrad.adelaide.edu.au, phk@critter.tfs.com, hackers@FreeBSD.ORG In-Reply-To: <199601080918.UAA19835@godzilla.zeta.org.au> from "Bruce Evans" at Jan 8, 96 08:18:35 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG Precedence: bulk Bruce Evans stands accused of saying: > Fix ufs to have decent performance for swapping on a vn device first :-). In this context, vn devices are barely a bandaid. > Slices are supposed to be disjoint. There are enough complications for Supposed phooey. I have a new use where nesting them would be very desirable. Is there anything other than the design philosophy that will melt down if slices overlap? > overlapping partitions inside slices. Since the windows swap file is in > a DOS slice, it seems best to create a label for this slice and describe > the swap file as the b partition in the label. You will need a label > anyway since swapping only works on the b partition. Ah. This conflicts with what PHK said, so I guess I'm going to have to play with this. Ok, let's stretch things a bit further. I lay down a slab of contiguous clusters inside a FAT filesystem, and assign them to a file, so nothing else will stuff with them. I want to put some filesystems in there, and possibly some more swap (because Windows swapfiles are usually too small), and I also want to be able to get at a hypothetical Windows swapfile _and_ the surrounding FAT filesystem. I'm willing to accept (for now) that a user could mount the FAT filesystem and delete the file marking the clusters, and the swapfile as well. This sort of thing can be fixed later. >From what you've said, I'll need two labels to swap on two extents, and thus two slices. I guess I should take it one step at a time and just get swapping on the file working first. Are there any good reasons why you can only swap on the 'b' partition? > Bruce -- ]] 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." [[