Re: Can't eject a previously mounted CD?

From: Matt
Date: Sat Dec 27 2003 - 10:14:18 EST


Ed Sweetman wrote:

Rob Love wrote:

On Fri, 2003-12-26 at 19:31, Matt wrote:

If you are on debian i have noticed recently that gnomevfs (on unstable) requires famd. famd will open /cdrom after it is mounted and run a dir notification on it. now i think famd needs some fixing, firstly to not bother running dir notice on ro filesystems, and secondly allow an authorised user (other than the original program (in this case nautilus)) to drop specific mount point dirs from the notification list. so yes this is a userland problem as far as i can see.



Yup.

But it sure is lame that our directory notification system (dnotify)
needs to hold open a file descriptor on the directory, and thus really
wrecks havoc on removable media.

Would be nice to have a saner replacement - for other reasons, too.

Rob Love



This may be true for mounted media, but people are having these problems with audio cds too. And it doesn't explain why this never happened with any of the test kernels. does famd also mess with cds that are loaded and not mounted?


Ack, just noticed that. I haven't seen famd messing with audio CDs, but also Joshua said that he didn't have famd installed on his machine, so that cuts that out. Strange how he said that eject(1) worked. Not sure, but just to reiterate to people though if you have mounted removable media it might not eject if you have famd installed on your machine, not sure if nautilus has been updated to drop its proxied dnotify when they are umounted.

Matt


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/