Is there any way i can stop RedHat 7.x from automounting a cd when it is inserted? I need to do this from the command line (in a script) and not by changing RedHat settings from the gui. The problem occurs when my script tries to unmount the cdrom after the automount window has popped up and i get a message saying that the device is still busy (because the window is open). Any suggestions? *??? Thanks a ton for any help you can provide!
PS: Is a new process opened when that window pops up (from the cd being automounted)? I tried doing a
ps -A > temp1 ##before the cd was automounted
and then a
ps -A > temp2 ## after the cd was automounted
and then i did a
diff temp1 temp2
and found no new processes... else i woul have just killed the new process.