Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2009 14:30:02 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-current@freebsd.org
Subject:   Re: RFC: ATA to CAM integration patch
Message-ID:  <200906281430.12157.doconnor@gsoft.com.au>
In-Reply-To: <4DF26D1E-B437-4FB3-B210-50ACB727101A@transsys.com>
References:  <4A4517BE.9040504@FreeBSD.org> <200906280847.59316.doconnor@gsoft.com.au> <4DF26D1E-B437-4FB3-B210-50ACB727101A@transsys.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1614187.FEMWT3FR2i
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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!

=2D-=20
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

--nextPart1614187.FEMWT3FR2i
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iD8DBQBKRvjc5ZPcIHs/zowRAtuoAJ43MLNtLt60Y+8g3mjhuagFJbRrRgCfbvv6
zddE/sCgtnHKiLLByDtzRlA=
=0X+7
-----END PGP SIGNATURE-----

--nextPart1614187.FEMWT3FR2i--



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