4 ms·
> Maybe there should be a mount options to randomize directory order that people can use in their staging environments. The behavior I've witnessed suggests th
by MrDrMcCoy 2y ago
> Maybe there should be a mount options to randomize directory order that people can use in their staging environments.
The behavior I've witnessed suggests that the the order is based on inode numbering, which is initially sequential from creation time, and drifts semi-randomly as inodes are unlinked and reused. I don't know this for a fact, but it makes enough sense. Directory ordering should be assumed to be random in all cases, as you suggest.