Re: Can't eject a previously mounted CD?

From: Ed Sweetman
Date: Fri Dec 26 2003 - 20:14:38 EST


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?

-
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/