r578 - in devmapper/trunk/debian: . patches
Bastian Blank
waldi at alioth.debian.org
Sun Jun 22 08:53:37 UTC 2008
Author: waldi
Date: Sun Jun 22 08:53:36 2008
New Revision: 578
Log:
* debian/changelog: Update.
* debian/patches/dmsetup-export.patch: Export some additional infos.
Modified:
devmapper/trunk/debian/changelog
devmapper/trunk/debian/patches/dmsetup-export.patch
Modified: devmapper/trunk/debian/changelog
==============================================================================
--- devmapper/trunk/debian/changelog (original)
+++ devmapper/trunk/debian/changelog Sun Jun 22 08:53:36 2008
@@ -2,6 +2,7 @@
* New upstream version.
* Update symbols files.
+ * Update dmsetup export patch.
-- Bastian Blank <waldi at debian.org> Sat, 21 Jun 2008 14:55:18 +0200
Modified: devmapper/trunk/debian/patches/dmsetup-export.patch
==============================================================================
--- devmapper/trunk/debian/patches/dmsetup-export.patch (original)
+++ devmapper/trunk/debian/patches/dmsetup-export.patch Sun Jun 22 08:53:36 2008
@@ -1,6 +1,6 @@
--- a/dmsetup/dmsetup.c
+++ b/dmsetup/dmsetup.c
-@@ -1073,6 +1073,57 @@
+@@ -1073,6 +1073,64 @@
return r;
}
@@ -38,7 +38,14 @@
+ printf("DM_NAME=\"%s\"\n", dm_task_get_name(dmt));
+
+ printf("DM_STATE=%s\n", info.suspended ? "SUSPENDED" : "ACTIVE");
-+ printf("DM_STATE_RO=%s\n", info.read_only ? "READ-ONLY" : "");
++ if (!info.suspended)
++ printf("DM_STATE_ACTIVE=1\n");
++ if (info.read_only)
++ printf("DM_STATE_READONLY=1\n");
++ if (info.live_table)
++ printf("DM_TABLE_LIVE=1\n");
++ if (info.inactive_table)
++ printf("DM_TABLE_INACTIVE=1\n");
+
+ printf("DM_LAST_EVENT_NR=%" PRIu32 "\n", info.event_nr);
+ printf("DM_MAJOR=%d\n", info.major);
More information about the pkg-lvm-commits
mailing list