RFC: ATA to CAM integration patch
Stanislav Sedov
stas at FreeBSD.org
Sun Jun 28 19:27:01 UTC 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090628/1ff66c0c/attachment.pgp
More information about the freebsd-current
mailing list