svn commit: r214118 - in head: sbin/geom/class/eli sys/geom/eli

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Oct 21 08:56:32 UTC 2010


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.
> 
> You could do something that requires the minimum user configuration, like:
> 
> ---
> 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.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20101021/ca7ceea5/attachment.pgp


More information about the svn-src-all mailing list