[gamin] Re: [RFC][PATCH] inotify 0.10.0



Chris replied to pj:
> > How about returning the inode number?
> 
> Then I think you need the filesystem as well.

They already had that, with the integer cookie representing the
directory ("/etc", in the example), as was a bit obvious, or else
returning the relative path ("hosts" in the example) wouldn't have
worked either.

That is, I was suggesting returning:

	{cookie-of-/etc,EVENT_MODIFY,inode-number-of-hosts-file}

instead of:

	{cookie-of-/etc,EVENT_MODIFY,"hosts"}

-- 
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <pj sgi com> 1.650.933.1373



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