Results 1 to 2 of 2
Alright I am running debian 3.1 with the default kernel (2.4.27-2-386). What I am trying to do is that when I put in an USB flash drive, doesn't matter what ...
- 07-19-2006 #1Just Joined!
- Join Date
- Jul 2006
- Posts
- 3
Automounting any USB flash drive and then running a script.
Alright I am running debian 3.1 with the default kernel (2.4.27-2-386). What I am trying to do is that when I put in an USB flash drive, doesn't matter what type of brand but basically *any* USB flash drive that it will automount and run a specific script.
So in short:
A flash drive is mounted
Debian automounts it
Runs a script
Right now I have it set to only listen to a specific device ID, however that specific flash drive is no longer manufactured and I need to future proof this as it will be used in a live production environment all over the country.
I have looked at this: http://www.buberel.org/linux/usb-automounter.php, however again that is just a specific device ID.
Ideas / suggestions?
- 07-20-2006 #2
IDEA :: Try detecting when the USB is mounted...and when a USB Mount is detected RUN the script..I don't think you need any Device ID for that..!!!


Reply With Quote
