Re: [RFC/PATCH] Nonotify - A simplistic way to determine directory content changes



On Sat, 2004-06-05 at 08:54, Mathieu Lacage wrote:
> On Fri, 2004-06-04 at 19:21, Manuel Amador (Rudd-O) wrote:
> > Only one question remains.  Does nonotify require open fds?  I mean,
> > will it block cdrom ejection? =)
> 
> That is clearly the wrong question: there can be no relationship between
> open fds on a mounted cdrom and cdrom locking.

open fds of the underlying device don't block unmount as your example
shows. That is two different layers in the kernel. However, an open fd
for a file on a mount does keep the mount busy.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a short-sighted chivalrous cyborg with a robot buddy named Sparky. She's 
a strong-willed impetuous schoolgirl who can talk to animals. They fight 
crime! 




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