Re: [PATCH] gnome-vfs: Don't monitor read-only filesystems



On Wed, 2004-04-07 at 19:23, Sriram Ramkrishna wrote:
> On Wed, Apr 07, 2004 at 07:20:09PM +0200, Alexander Larsson wrote:
> > On Wed, 2004-04-07 at 19:09, Sriram Ramkrishna wrote:
> > > On Wed, Apr 07, 2004 at 12:08:37PM +0200, Frederic Crozat wrote:
> > > > No, killing fam was enough.. Fam was maintaining an open fd on the cdrom
> > > > drive. Killing it allows unmounting the drive.
> > > > 
> > > 
> > > Fam needs to be a little smarter about this.  For instance, if there
> > > was some way that it knows that an unmount request was sent to one
> > > of it's open fd it should try to release it.  Or cdroms and usb storage
> > > devices should be handled specially..
> > 
> > This is the wrong solution. We should have a file notification kernel
> > api that doesn't force you to have an open fd. And that doesn't totally
> > suck ass.
> 
> I'd love a kernel level solution, but it's difficult to get the various
> folks hacking on kernels to implement one.  It's not like we have an xdg 
> equivalent for monolithic kernels.  It's possible to do this for Linux but
> what about the rest?

The rest don't have this problem. Its purely a dnotify-sucks problem.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an unconventional albino paranormal investigator on a search for his 
missing sister. She's a strong-willed Buddhist cab driver prone to fits of 
savage, blood-crazed rage. They fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]