From owner-svn-src-head@FreeBSD.ORG Thu Jun 27 18:53:17 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C9625E7B; Thu, 27 Jun 2013 18:53:17 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::235]) by mx1.freebsd.org (Postfix) with ESMTP id 920441939; Thu, 27 Jun 2013 18:53:17 +0000 (UTC) Received: by mail-pa0-f53.google.com with SMTP id tj12so1419666pac.26 for ; Thu, 27 Jun 2013 11:53:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:x-mailer:from:subject:date :to; bh=LbkEORHKs2y6tsO8lz3YD1tcqRk7yS8LpIzCRgDwqQM=; b=yQ9x+FUU/V1eFxtm88j5nXhZDkNd+XMb5PlJsoDnUGBoSDosYU9pJn79NQFrEClYiF i6+syTwe9D539OyYvEBTZoxGn7NIg893VzXT8GQ86zRWDKflelPmgMClD+YAlwrqUdcU HAcYyg14Jr/im+O/HUQCo69AhLEE4sQZMFG4keyLCK5DeKsa/qIygiZmRTxnwqD6Ce0Z DaHIni4iu/gzCD0wUZBK/3d9XyiUtYr6ILOA5RHyw8mHkyfOQpoCvTufn1p50DyyAWOY aDk9HPdrUSFtDhjAnjEJ7RSz4heH9h2vM0ADLWwNCZH10Yb64UXZnRfblULdwA5VMKrs DwnQ== X-Received: by 10.68.41.106 with SMTP id e10mr7606676pbl.136.1372359197332; Thu, 27 Jun 2013 11:53:17 -0700 (PDT) Received: from [10.11.125.232] (mobile-166-147-082-099.mycingular.net. [166.147.82.99]) by mx.google.com with ESMTPSA id fp2sm4268415pbb.36.2013.06.27.11.53.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 27 Jun 2013 11:53:15 -0700 (PDT) References: <201306271828.r5RISj03033702@svn.freebsd.org> Mime-Version: 1.0 (1.0) In-Reply-To: <201306271828.r5RISj03033702@svn.freebsd.org> Message-Id: <7413B684-3995-428B-8762-A49B0A1801D2@gmail.com> X-Mailer: iPhone Mail (10B329) From: Garrett Cooper Subject: Re: svn commit: r252310 - in head: etc/defaults etc/rc.d include sbin/swapon share/man/man5 Date: Thu, 27 Jun 2013 11:53:06 -0700 To: Hiroki Sato Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2013 18:53:17 -0000 On Jun 27, 2013, at 11:28 AM, Hiroki Sato 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=