Re: [bug #51069] find changes access time on directories

2017-05-22 Thread Dale R. Worley
Adesh Kumar writes: > I thought "find" uses only stat syscalls, but yeah I can see how that > cannot help with directory contents. My guess is that for simple tests > like iname or name, find does not need to read the direcotry list. Is > my understanding correct? As I consider it intuitively (wh

[bug #51069] find changes access time on directories

2017-05-22 Thread Eric Blake
Follow-up Comment #2, bug #51069 (project findutils): Linux has an extension open(O_NOATIME) that allows one to pick-and-choose when to NOT adjust the atime of a directory, without being as heavy-handed as a mount option for all operations on the entire tree. As an extension to POSIX, we could of