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 p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am!
pgpMq0CrEoNBR.pgp
Description: PGP signature