From 569fad30074a4d0c5eca3d4a8975a0b0e4f45e05 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 23 Oct 2013 08:58:53 +0200 Subject: add info about multi disk level --- udev-block-notify.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/udev-block-notify.c b/udev-block-notify.c index 2f15a1c..55a983d 100644 --- a/udev-block-notify.c +++ b/udev-block-notify.c @@ -205,6 +205,10 @@ int main (int argc, char ** argv) { if ((value = udev_device_get_property_value(dev, "DM_NAME")) != NULL) notifystr = appendstr(TEXT_TAG, notifystr, "Device mapper name", value); + /* multi disk */ + if ((value = udev_device_get_property_value(dev, "MD_LEVEL")) != NULL) + notifystr = appendstr(TEXT_TAG, notifystr, "Multi disk level", value); + # if DEBUG printf("%s: %s\n", argv[0], notifystr); # endif -- cgit v1.2.3-70-g09d2