Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2013 11:53:06 -0700
From:      Garrett Cooper <yaneurabeya@gmail.com>
To:        Hiroki Sato <hrs@FreeBSD.org>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>
Subject:   Re: svn commit: r252310 - in head: etc/defaults etc/rc.d include sbin/swapon share/man/man5
Message-ID:  <7413B684-3995-428B-8762-A49B0A1801D2@gmail.com>
In-Reply-To: <201306271828.r5RISj03033702@svn.freebsd.org>
References:  <201306271828.r5RISj03033702@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 27, 2013, at 11:28 AM, Hiroki Sato <hrs@FreeBSD.org> wrote:

> Author: hrs
> Date: Thu Jun 27 18:28:45 2013
> New Revision: 252310
> URL: http://svnweb.freebsd.org/changeset/base/252310
>=20
> Log:
>  - Add vnode-backed swap space specification support.  This is enabled whe=
n
>    device names "md" or "md[0-9]*" and a "file" option are specified in
>    /etc/fstab like this:
>=20
>    md    none    swap    sw,file=3D/swap.bin       0       0
>=20
>  - Add GBDE/GELI encrypted swap space specification support, which
>    rc.d/encswap supported.  The /etc/fstab lines are like the following:
>=20
>    /dev/ada1p1.bde       none    swap    sw      0       0
>    /dev/ada1p2.eli       none    swap    sw      0       0
>=20
>    .eli devices accepts aalgo, ealgo, keylen, and sectorsize as options.
>=20
>    swapctl(8) can understand an encrypted device in the command line
>    like this:
>=20
>    # swapctl -a /dev/ada2p1.bde
>=20
>  - "-L" flag is added to support "late" option to defer swapon until
>    rc.d/mountlate runs.
>=20
>  - rc.d script change:
>=20
>      rc.d/encswap -> removed
>      rc.d/addswap -> just display a warning message if $swapfile is define=
d
>      rc.d/swap1 -> renamed to rc.d/swap
>      rc.d/swaplate -> newly added to support "late" option
>=20
>  These changes alleviate a race condition between device creation/removal
>  and swapon/swapoff.

Hi Sato-san!

I noticed that you've been working with mdconfig, et al a lot lately. Would y=
ou have some spare cycles to look at some of the related mdconfig PRs? http:=
//www.freebsd.org/cgi/query-pr-summary.cgi?text=3DMdconfig
Thanks!
-Garrett=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7413B684-3995-428B-8762-A49B0A1801D2>