Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 1996 13:00:04 +1030 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        msmith@atrad.adelaide.edu.au, phk@critter.tfs.com, hackers@FreeBSD.ORG
Subject:   Re: Add new slice to running system, comments?
Message-ID:  <199601090230.NAA04222@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199601080918.UAA19835@godzilla.zeta.org.au> from "Bruce Evans" at Jan 8, 96 08:18:35 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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."                               [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601090230.NAA04222>