RFC: ATA to CAM integration patch

Daniel O'Connor doconnor at gsoft.com.au
Sun Jun 28 05:00:27 UTC 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090628/ff345bbd/attachment.pgp


More information about the freebsd-current mailing list