freebsd-nq/sbin/geom
Pawel Jakub Dawidek ba196edbd2 By default backup geli metadata to a file. It is quite critical 512 bytes,
once it is lost, all data is gone.

Option '-B none' can by used to prevent backup. Option '-B path' can be
used to backup metadata to a different file than the default, which is
/var/backups/<prov>.eli.

The 'geli init' command also prints backup file location and gives short
procedure how to restore metadata.

The 'geli setkey' command now warns that even after passphrase change or keys
update there could be version of the master key encrypted with old
keys/passphrase in the backup file.

Add regression tests to verify that new functionality works as expected.

Update other regression tests so they don't create backup files.

Reviewed by:	keramida, rink
Dedicated to:	a friend who lost 400GB of his live by accidentally overwritting geli metadata
MFC after:	2 weeks
2008-08-29 18:10:18 +00:00
..
class By default backup geli metadata to a file. It is quite critical 512 bytes, 2008-08-29 18:10:18 +00:00
core Replace checks for RESCUE in sources with checks for STATIC_GEOM_CLASSES 2008-06-04 20:07:59 +00:00
misc Add two support functions: 2008-06-06 22:44:03 +00:00
Makefile Add NO_MAN for the static variant of geom(8). Both the RESCUE and the 2008-07-03 19:40:59 +00:00
Makefile.inc Don't use version number in library name. The library version is checked 2004-08-02 09:05:29 +00:00