Advertisement

07.12.2007 at 10:22AM PDT, ID: 22692431
[x]
Attachment Details

Invoke a script when a CD/DVD is auto-mounted

Asked by KurtVon in Linux, Linux Administration, Linux Setup

Tags: ,

I have a Debian Linux PC working as a storage server (no window manager).  It is set up so that when a USB drive is attached to the system, the drive is automatically mounted and appropriate files are copied to the archive.  This works by invoking a set of shell scripts with the mount location of the drive.

I need to do the same for a CD/DVD drive, but the invocation seems to be specific to USB.  I can get the auto-mounted to automatically mount the CD/DVD no problem, but I can't get it to invoke a shell script after doing that.

Thanks for any help.Start Free Trial
 
 
[+][-]07.12.2007 at 12:54PM PDT, ID: 19475544

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.12.2007 at 10:39PM PDT, ID: 19478445

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Linux, Linux Administration, Linux Setup
Tags: linux, script
Sign Up Now!
Solution Provided By: Nopius
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.13.2007 at 07:49AM PDT, ID: 19481352

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.13.2007 at 08:44AM PDT, ID: 19481915

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.13.2007 at 08:49AM PDT, ID: 19481947

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.13.2007 at 08:56AM PDT, ID: 19481990

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.13.2007 at 11:58AM PDT, ID: 19483527

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.13.2007 at 06:12PM PDT, ID: 19485371

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.14.2007 at 05:41AM PDT, ID: 19486698

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.14.2007 at 06:27AM PDT, ID: 19486816

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.14.2007 at 08:08AM PDT, ID: 19487133

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.16.2007 at 05:19AM PDT, ID: 19494632

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.16.2007 at 07:31AM PDT, ID: 19495957

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32