diff options
author | pjd <pjd@FreeBSD.org> | 2008-08-29 18:10:18 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2008-08-29 18:10:18 +0000 |
commit | eb18064487ed6a8c0ca47f06cec5edffb701eaf4 (patch) | |
tree | ae13fdadfbbe981bbb8657afa529a68844db7293 /include | |
parent | fb302986669162fa39b6310d7852659f6df20b2e (diff) | |
download | FreeBSD-src-eb18064487ed6a8c0ca47f06cec5edffb701eaf4.zip FreeBSD-src-eb18064487ed6a8c0ca47f06cec5edffb701eaf4.tar.gz |
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
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions