aboutsummaryrefslogtreecommitdiffstats
path: root/udev-block-notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev-block-notify.c')
-rw-r--r--udev-block-notify.c3
1 files changed, 3 insertions, 0 deletions
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)