umount

Linux: Which process is causing "device busy" when doing umount?

Linux: Which process is causing "device busy" when doing umount? ...

Bash Script - umount a device, but don't fail if it's not mounted?

I'm writing a bash script and I have errexit set, so that the script will die if any command doesn't return a 0 exit code, i.e. if any command doesn't complete successfully. This is to make sure that my bash script is robust. I have to mount some filesystems, copy some files over, the umount it. I'm putting a umount /mnt/temp at the sta...

How do you force a Linux process (Java webstart App) to stop locking a Filesystem (CD-ROM) WITHOUT killing the process?

In Linux (CentOS 5.4), how do you force a process to stop locking a file system without killing the process? I am trying to get my Java Webstart Application, running locally, to eject a CD. I do not have this problem if I am just browsing through the files using a JFileChooser, but once I read the contents of a file, I can no longer eje...