summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2008-08-29 18:10:18 +0000
committerpjd <pjd@FreeBSD.org>2008-08-29 18:10:18 +0000
commiteb18064487ed6a8c0ca47f06cec5edffb701eaf4 (patch)
treeae13fdadfbbe981bbb8657afa529a68844db7293 /sys/net
parentfb302986669162fa39b6310d7852659f6df20b2e (diff)
downloadFreeBSD-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 'sys/net')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud