Re: [RFC][PATCH] inotify 0.10.0

From: Paul Jackson
Date: Thu Sep 30 2004 - 07:47:07 EST


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@xxxxxxx> 1.650.933.1373
-
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/