Sometimes when I try to burn an ISO image, the message that "/dev/sr0" cannot be open exclusively appears. lsof does not shows any program that opens "/dev/sr0" (I checked for aliases too).
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
Usually that tells you which process is accessing or locking the resource. |
|||||
|
|
You may be using a bad fork of the CD writing software. It seems that Debian forked the cdrecord tools five years ago, and one fork does not work well, including emitting errors about exclusive locks on the CD device. Get a copy of the real software by going to http://cdrecord.berlios.de/ Also (even though you may not be using ubuntu) the following may be informative: https://bugs.launchpad.net/ubuntu/+source/cdrkit/+bug/149076 |
|||
|
|
Also, lsof can be a great help in determining who's using a filesystem.
|
|||||||||
|

LC_MESSAGES=C burning_command /dev/sr0). – Gilles Feb 25 '11 at 22:30