Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 2010 10:55:51 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Rui Paulo <rpaulo@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r214118 - in head: sbin/geom/class/eli sys/geom/eli
Message-ID:  <20101021085551.GC3838@garage.freebsd.pl>
In-Reply-To: <F7129DDD-7754-4421-AC9A-44E5E62BE691@FreeBSD.org>
References:  <201010202050.o9KKot6o068512@svn.freebsd.org> <F7129DDD-7754-4421-AC9A-44E5E62BE691@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--69pVuxX8awAiJ7fD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 21, 2010 at 07:25:53AM +0100, Rui Paulo wrote:
> Great work. Might be worth adding the geli commands to /etc/rc.suspend & =
/etc/rc.resume.
>=20
> You could do something that requires the minimum user configuration, like:
>=20
> ---
> geli list 2>&1 > /dev/null
> if [ $? -eq 0 ]; then
> 	geli suspend -a
> fi

Well, this is not always safe. As I mentioned in the commit message this
will cause deadlock if geli(8) command is stored on encrypted file
system (you won't be able to resume). Good example of such situation is
when you encrypt even your root file system.

--=20
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--69pVuxX8awAiJ7fD
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iEYEARECAAYFAkzAABcACgkQForvXbEpPzS64ACdFNcEt35L3/9G6OBhljGMaO6H
xqwAnjSc+C9av87BzzM/8uQimLhSo1rc
=c2Oq
-----END PGP SIGNATURE-----

--69pVuxX8awAiJ7fD--



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