Re: RFC: ATA to CAM integration patch

From: Stanislav Sedov <stas_at_FreeBSD.org>
Date: Sun, 28 Jun 2009 23:27:08 +0400
On Sun, 28 Jun 2009 14:30:02 +0930
"Daniel O'Connor" <doconnor_at_gsoft.com.au> mentioned:

> 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..
> 

It does for sure.

-- 
Stanislav Sedov
ST4096-RIPE

Received on Sun Jun 28 2009 - 17:27:01 UTC

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