LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-21-2009, 12:43 PM   #1
pslacerda
Member
 
Registered: Nov 2008
Posts: 42

Rep: Reputation: 17
Question Run script when determined device is mounted


How to run a script when determined device is mounted?
 
Old 01-21-2009, 03:08 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Funny that ... the first hit searching for "udev execute script" on
google explains exactly what you're after ...


http://reactivated.net/writing_udev_...l#external-run




Cheers,
Tink
 
Old 01-21-2009, 05:15 PM   #3
pslacerda
Member
 
Registered: Nov 2008
Posts: 42

Original Poster
Rep: Reputation: 17
Thank you. I had never listened "udev".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
computer asks me to run a FSCK Manually, but won't : says can't run on mounted lightwave Linux - Newbie 12 04-02-2008 01:25 AM
Auto run a script when connecting a USB device strangeslack Slackware 1 11-16-2007 01:40 PM
Run script when USB drive is mounted highgeere Linux - Desktop 2 11-13-2006 09:44 AM
script check to see if device is mounted Warmduvet Programming 14 09-03-2004 07:17 PM
Checking if a device is mounted using a script thar Linux - Software 2 02-22-2004 04:17 PM


All times are GMT -5. The time now is 02:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration