Het real path of a share.

simo idra at samba.org
Thu Feb 14 06:22:43 MST 2013


On Thu, 2013-02-14 at 10:31 +0100, Volker Lendecke wrote:
> On Thu, Feb 14, 2013 at 10:20:58AM +0100, Stef Bon wrote:
> > 2013/2/14 Volker Lendecke <Volker.Lendecke at sernet.de>:
> > > On Thu, Feb 14, 2013 at 09:34:43AM +0100, Stef Bon wrote:
> > >> but it is commented out since it does not work with inotify.
> > >> I've contacted kernel developers about this, but they have something against
> > >> inotify: a "don't use it" attitude.
> > >
> > > Oh, inotify is deprecated? Do you have a publically
> > > accessible reference to that?
> > >
> > 
> > See:
> > 
> > http://www.spinics.net/lists/linux-fsdevel/msg51115.html
> > 
> > This was in a thread started by me suggesting to add netlink messages
> > when a inotify watch has been added or removed.
> > Their attitude is only about inotify in combination with network
> > flesystems I guess.
> 
> Ok, thanks! Quoting:
> 
> > Passing the pathname is *hopeless* here.  And IMNSHO so's
> > relying on inotify in general - it's not a general-purpose
> > API and any program relying on it being usable on an
> > arbitrary part of tree is buggy.
> 
> That's indeed strong language. Lets see when it's going away
> :-)

It is going nowhere, Al Viro's reply was in a precise context, Stef
Bon's proposal, and nothing else afaics, I wouldn't generalize.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>



More information about the samba-technical mailing list