Dear awesome fellows, I'm trying to make a dio (disk input/output) which adds new devices as they are mounted. So, for instance, it would have /dev/sda detected as the system hard disk, and it would append the data for /dev/sdX in case an external drive was to be mounted.
How would you do that? Looking at 'mount' every few seconds, looking at /media/xxx, making the udev rules call a bash script with awesome-client...? Thanks! Thanks!