It sounds posible but I can only think of one or 2 ways you can do it. There has to be more/better ways of doing this but this is what I can think of.
1. Create a script that mounts the disk and then scans it if something is found unmount the disk with an error message.
2. Hack mount, add a switch to run your scan program and then add an alias for that to the .bashrc in /etc/skel and then each user will automagically run your switch when using mount.


Reply With Quote

Bookmarks