aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2009-01-22 23:37:50 +0000
committerintrigeri <intrigeri@boum.org>2009-01-22 23:37:50 +0000
commit386c4275946520bc590428e730a9d515155436a0 (patch)
tree613d48e62a1c7f91caadbce5a45ea215fc133427 /handlers
parent772af74c802c253d99c86eb7f9b40ced9faf47a9 (diff)
downloadbackupninja-386c4275946520bc590428e730a9d515155436a0.tar.gz
backupninja-386c4275946520bc590428e730a9d515155436a0.tar.bz2
sys: backup dmsetup info as well, for easier restoring of Luks headers
Diffstat (limited to 'handlers')
-rwxr-xr-xhandlers/sys.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/handlers/sys.in b/handlers/sys.in
index b7e94b0..e6cb273 100755
--- a/handlers/sys.in
+++ b/handlers/sys.in
@@ -478,6 +478,9 @@ if [ $os = "redhat" ]; then
elif [ $os = "debian" ]; then
catifexec "/sbin/vgdisplay" "-vv"
fi
+
+STATUS="Collecting device-mapper (dm) information:"
+catifexec '/sbin/dmsetup' 'info'
STATUS="Collecting SCSI Tape information (/etc/stinit.def)"
catiffile "/etc/stinit.def"