diff options
author | Christian Hesse <mail@eworm.de> | 2013-09-24 10:05:50 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-09-24 10:05:50 +0200 |
commit | 13ebd161eb465a70dabb7ee7036d96250f41b51a (patch) | |
tree | 3dad41f9385fd1e01845817589494ed2b95119af /udev-block-notify.c | |
parent | 0960bb291d00f8ae745bf92dc9d2d88735e70ba2 (diff) | |
download | udev-block-notify-13ebd161eb465a70dabb7ee7036d96250f41b51a.tar.gz udev-block-notify-13ebd161eb465a70dabb7ee7036d96250f41b51a.tar.zst |
add comment about udevadm
Diffstat (limited to 'udev-block-notify.c')
-rw-r--r-- | udev-block-notify.c | 3 |
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) |