![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Run a process through inetd using korn shell!!! | vishi_82 | Shell Programming and Scripting | 8 | 06-11-2007 09:00 AM |
| current running process in shell | moco | Shell Programming and Scripting | 1 | 04-12-2007 12:15 AM |
| process Span by shell | compbug | UNIX for Dummies Questions & Answers | 4 | 06-18-2006 04:43 AM |
| shell programming for process? | robocup | Shell Programming and Scripting | 1 | 07-30-2005 09:35 AM |
| killing a child process within a shell | yerics | Shell Programming and Scripting | 2 | 06-27-2003 06:00 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
CD Rom Locked by shell process
Hi,
I am writing a multi-cd spanning installer for a particular software in Linux (Redhat 4 or greater / Suse ) My Program is in Java. A Shell Script is used to fork the java process. I found out that when the Installer tries to go to the next disc when prompted so, by the installer, the eject command or the umount command is not able to eject / unmount the CD which is already there in the drive. The eject / umount reports that the device is busy. Now I tried to find out the process which is accessing the CD-ROM device and the output of command fuser -m /cdrom0 gives me the PID of the shell process which was used to launch this Java process. Please note that the Java Process has a separate PID. Also please note as soon as the user launches the shell command for the installer, I copy the files to the temporary directory and then cd to the temporary dir location and then fork the java process from there. How can i solve this problem ? How can i make the mount of the second and subsequent CD Drives work without this issue ? Thanks, Jiju Double post - thread closed Last edited by jim mcnamara; 07-17-2008 at 06:02 AM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|