Detecting new file name after receiving kevent's NOTE_RENAME
Conrad Meyer
cem at FreeBSD.org
Wed Nov 11 17:24:59 UTC 2015
On Wed, Nov 11, 2015 at 2:56 AM, Konstantin Belousov
<kostikbel at gmail.com> wrote:
> It is up to filesystem to cache or not cache the file name entry.
> If filesystem does not insert the name entry into namecache on rename,
> there is nothing which could help vn_fullpath(9) to return a path.
Besides vn_vptocnp? I thought vn_fullpath(9) should always succeed
since 10.0 if the vnode still exists.
Best,
Conrad
More information about the freebsd-hackers
mailing list