Re: RFC: ATA to CAM integration patch

From: Daniel O'Connor <doconnor_at_gsoft.com.au>
Date: Sun, 28 Jun 2009 14:30:02 +0930
On Sun, 28 Jun 2009, Louis Mamakos wrote:
> > Unfortunately you can't specify swap this way because it has no ID,
> > I don't know how hard it would be to add such a thing (which would
> > require a mkswap or somesuch, and modification to the dump & swap
> > code..)
>
> I use glabel to create containers with named labels that I then
> reference as swap devices.  (e.g., /dev/label/swap0, etc.)
>
> # swapinfo
> Device          1024-blocks     Used    Avail Capacity
> /dev/label/swap2     1044192        0  1044192     0%
> /dev/label/swap3     1044192        0  1044192     0%
> /dev/label/swap4     1044192        0  1044192     0%
> Total               3132576        0  3132576     0%

Ahh, of course, like this?
glabel label swap0 /dev/ad0s1b
(well that works for me but I'd like to check ;)

Any idea if that works with dumping? dumpon accepts it but..

Thanks!

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Received on Sun Jun 28 2009 - 03:00:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:50 UTC