Re: magicdev question
- From: Simon Wong <linux thoughtworx com>
- To: Paul Ionescu <paul acorp ro>
- Cc: Gnome List <gnome-list gnome org>
- Subject: Re: magicdev question
- Date: Thu Jan 8 04:36:01 2004
On Wed, 2004-01-07 at 21:33, Paul Ionescu wrote:
> echo 0 > /proc/sys/dev/cdrom/lock
> # this will prevent locking the cd door while mounted
> mount /mnt/cdrom ; cd /mnt/cdrom ; vi some_file_on_cd
> #this will make the cd busy and unable to unmount normaly
> NOW press the eject button on the cd.
> The cd is ejected BUT the filesystem is still mounted which is bad.
> The solution is to "umount -l /dev/cdrom" which should work if you have
> a kernel >= 2.4.11, and I bet you have it.
Yep, 2.4.23.
Thanks alot Paul, that's going to help me get out of a pickle or two
I'll bet.
Actually, my biggest problem is fam which seems to love latching onto my
CD's (even though they're RO of course) and I regularly have to restart
fam to eject my CD.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]