magicdev question



Hi all,

I have a question related to magicdev functionality which is part of
gnome cvs now.
In the docs I found that "Magicdev is a daemon that runs within the
GNOME environment and detects when a CD is removed or inserted."

The gui "gnome-cd-properties" lets one configure what actions to do on
disk insertion, but nothing about disk removal.

Now, how do I make magicdev to do an action if it detects that a CD is
removed ?
For instance, I insert a data CD, and magicdev mounts it automaticaly
under /mnt/cdrom. 
If I eject the CD via the eject button on the CDROM (not the eject
command), I want magicdev to unmount the cd, but it does not.
So, the CD is gone, but it is still mounted.
If I insert a new data CD, nothing happens any more. This new cd is not
mounted because, the old one is not unmounted yet.
So, how can I do this thing ?





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