> > - There's the question of whether we wire up [fl]stat(2) variants instead of > > using fstatat. I went with the former as the implementation was more > > straight forward. > > It appears that fstatat(2) fits the need for "statlite" cleanly. I'd > thought today that this would require opening each file, but it is > only necessary to open the parent directory and call fstatat() for > each filename in the directory. It's better than that... fstatat(2) actually captures all of stat(2), lstat(2), and fstat(2), without opening any extra file handles. AT_FDCWD for the fd makes things relative to the working directory, and AT_SYMLINK_NOFOLLOW gives you the 'l' variant. That's how they're all wired up in fs/stat.c anyway. sage -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html