Getting a mount point once a device has been mounted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

I have a script I wrote that is meant to scan a usb stick for viruses
and takes the stick's mount point as an argument.

I'd like the script to clean any new usb devices that get plugged into
the system. I've been experimenting with the rules but can't find a
good way to get the mount point. Does anyone have any ideas or perhaps
an alternate method?

--Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux