From 13ebd161eb465a70dabb7ee7036d96250f41b51a Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 24 Sep 2013 10:05:50 +0200 Subject: add comment about udevadm --- udev-block-notify.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/udev-block-notify.c b/udev-block-notify.c index 2a699b6..f38b175 100644 --- a/udev-block-notify.c +++ b/udev-block-notify.c @@ -175,6 +175,9 @@ int main (int argc, char ** argv) { } if (action != 'r') { + /* Get possible values with: + * $ udevadm info --query=all --name=/path/to/dev + * Values available differs from device type and content */ if ((value = udev_device_get_property_value(dev, "ID_FS_LABEL")) != NULL) notifystr = appendstr(TEXT_TAG, notifystr, "Label", value); if ((value = udev_device_get_property_value(dev, "ID_FS_TYPE")) != NULL) -- cgit v1.2.3-54-g00ecf