Re: [ilugd] Giving up on scratched CDs and ejecting mounted CDs

2005-10-07 Thread Pankaj kaushal
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,

Re: [ilugd] Giving up on scratched CDs and ejecting mounted CDs

2005-10-07 Thread Raj Mathur
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

Re: [ilugd] Giving up on scratched CDs and ejecting mounted CDs

2005-09-28 Thread Gaurav Mishra
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

Re: [ilugd] Giving up on scratched CDs and ejecting mounted CDs

2005-09-27 Thread Abhijit Menon-Sen
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

Re: [ilugd] Giving up on scratched CDs and ejecting mounted CDs

2005-09-27 Thread Saurabh Nanda
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

Re: [ilugd] Giving up on scratched CDs and ejecting mounted CDs

2005-09-27 Thread Mayank Jain
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,

Re: [ilugd] Giving up on scratched CDs and ejecting mounted CDs

2005-09-27 Thread Saurabh Nanda
# 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

Re: [ilugd] Giving up on scratched CDs and ejecting mounted CDs

2005-09-27 Thread Mayank Jain
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

Re: [ilugd] Giving up on scratched CDs and ejecting mounted CDs

2005-09-27 Thread bimal pandit
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