I'm interested in running an rsync script whenever any new volume is mounted on my Debian box. What are some potential triggers / strategies for listening for a new volume mount?
You can create a new rule to
(I did not try the above line, try your own rules.)
Note that the script will be run as