LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-26-2007, 03:11 AM   #1
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Rep: Reputation: 32
autofs and then starting a script


Hello !

I would like to use autofs to start a script when a cd is mounted.

a) insert cd
b) autofs noticed the cd
c) autofs mounts the cd
d) autofs should start a script

I just googling for a sollution but maybe somebody here can help faster ?

Thanks
 
Old 05-08-2007, 02:10 AM   #2
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Original Poster
Rep: Reputation: 32
does nobody have an idea ?
 
Old 06-06-2007, 11:04 PM   #3
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Rep: Reputation: 33
I was reading some white pages on udev for a project in slackware and If I remember correctly there may be a way to write a rule for this purpose. I can't seem to find the page where I read this or I would have posted a link. But anyway you may start there.
 
Old 06-07-2007, 01:52 AM   #4
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Original Poster
Rep: Reputation: 32
Thanks for that idea I will have a look at it!
bye
 
  


Reply



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
FC6 - General starting issues, HIDP and AutoFS "Failed" tiger.woods Fedora 2 01-16-2007 09:35 PM
Bash script hangs upon starting another script in the background masea2 Linux - Software 4 11-13-2006 05:18 AM
Script in /etc/rc.d to start autofs? tiuz Slackware 5 04-08-2006 09:23 AM
Starting Script Jakeh2k1 Linux - General 1 11-13-2004 02:02 PM
Starting Script on startup chrisfirestar Linux - General 5 12-02-2003 12:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:42 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
Open Source Consulting | Domain Registration