SUBSYSTEM=="block", ACTION=="remove" RUN+="/etc/udev/scripts/mount.sh"
</pre>
The second file is a script that can be copied in <code>/etc/udev/scripts/</code>. It looks like this:
udevadm control --reload-rules
</pre>
The following console dump shows the process of auto-mounting/auto-unmounting of a FAT32 partition, stored on a USB flash drive.