Quote:
Originally Posted by jiju.jacob
Hi,
I am writing a multi-cd spanning installer for a particular software in Linux (Redhat 4 or greater / Suse )
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.
|
Your program is using file(s) on the CDROM, which is mounted. Once that program is loaded, it needs to reference that file, so an attempted dismount will fail, since things are using some file(s) on the CD. You can:
- Copy whatever file(s) the installer uses to a temp directory on the hard drive first, then perform the install
- Have a shell script as part of your installer, that will copy all the CD's to a temp directory on the hard drive, then install from there.
- Do it from a single DVD, and skip CDROM's.
- Send your software out on 8GB thumb drives.
