Re: 2.6.21-git10/11: files getting truncated on xfs? or maybe an nlink problem?

Jan Engelhardt
2007-05-14T20:20:08Z

On May 12 2007 07:46, Matt Mackall wrote:
>>
>> You should not assume alphabetical order. Filesystems may be free to
>> reorder things and return them (1) randomly like in a hash (2) by
>> creation time during readdir().
>
>There is no assumption. Mercurial explicitly visits files in
>alphabetical order for the above commands.

But who says that

for i in {a..z}; do ## {..} is a bash3 extension
touch $i;
done;

actually makes readdir() return them in the same order?

Jan
--