Saurabh Nanda wrote:
Hi,
Firstly, could anyone please tell me what's the philosophy behind
'locking' the CD-ROM tray when a CD has been mounted. Why can't I
eject a mounted CD? Additionally, is there some way with which I may
eject mounted CDs?
There is a bug on this,
Pankaj == Pankaj kaushal [EMAIL PROTECTED] writes:
Pankaj [snip]
Pankaj Wir wollen dass ihr uns alles glaubt.
``My woollen gloves are all torn''?
g,dr
--
Raj Mathur[EMAIL PROTECTED] http://kandalaya.org/
GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 D0EF CC68
to simple commands assuming drive location is /mnt/cdrom
umount -f /mnt/cdrom
fuser -mv /mnt/cdrom shows the pid
and kill pid
:)
On 28 Sep 2005 03:39:47 -, bimal pandit
[EMAIL PROTECTED] wrote:
Dear Sir,
---SNIP-
Thus, one can't unmount the CD
At 2005-09-27 15:11:19 +0530, [EMAIL PROTECTED] wrote:
Firstly, could anyone please tell me what's the philosophy behind
'locking' the CD-ROM tray when a CD has been mounted.
So that you can't eject a mounted CD.
Why can't I eject a mounted CD?
Because the VFS would be unhappy if mounted
Because the VFS would be unhappy if mounted media suddenly disappeared
from under it (and was potentially replaced with something different).
That applies to all mounts, not just CDs.
But doesn't the VFS already handle such situations with USB pen drives
and to some extent with network file
On 9/27/05, Saurabh Nanda [EMAIL PROTECTED] wrote:
Thus, one
can't unmount the CD cuz it's supposedly busy, and one can't eject the
CD cuz it's mounted. The only solution being a reboot.
# considering your cdrom is mounted somewhere on /mnt/cdrom
lsof | grep cdrom
kill -9 pid
--
regards,
# considering your cdrom is mounted somewhere on /mnt/cdrom
lsof | grep cdrom
kill -9 pid
I've tried killing the process (say cp) but that doesn't solve the
problem. I'll try this as well.
But even this solution is a workaround! The CD driver should give up
after some time and throw an
On 9/27/05, Saurabh Nanda [EMAIL PROTECTED] wrote:
# considering your cdrom is mounted somewhere on /mnt/cdrom
lsof | grep cdrom
kill -9 pid
But even this solution is a workaround! The CD driver should give up
after some time and throw an error!
Cant say what's the default read timeout
Dear Sir,
---SNIP-
Thus, one can't unmount the CD cuz it's supposedly busy, and one can't eject the
CD cuz it's mounted. The only solution being a reboot.
---SNIP-
use umount -l device also could use fuser to