Notify about udev block events
This runs in background and produces notifications whenever udev (or systemd) receives an event about a block device. Notifications look like this:
Or for optical media:
These are just examples, it shows information about every block device.
To compile and run
udev-block-notify you need:
- markdown (HTML documentation)
gnome-icon-theme-extras(or anything else that includes the required media icons)
Some systems may require additional development packages for the libraries.
libudev-devel or similar.
Building and installing is very easy. Just run:
This will place an executable at
documentation can be found in
Additionally a systemd unit file is installed to
udev-block-notify to run it once. A systemd user service can be
started and/or enabled with
systemctl --user start udev-block-notify
systemctl --user enable udev-block-notify.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.