[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] savedir: optionally produce ordered directory list
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] savedir: optionally produce ordered directory list |
Date: |
Fri, 14 Feb 2014 11:56:13 +0100 |
User-agent: |
Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) |
Sergey Poznyakoff <address@hidden> skribis:
>> FWIW I think it’s very important that tar --sort=name remains the
>> default, as it guarantees that archive production is deterministic.
>
> Actually, the default is not to sort directory entries at all: tar
> stores them in the same order as returned by the underlying system calls.
Oh, really? In the order of the readdir calls?
Somehow I was under the impression that the order was deterministic.
> I don't think changing this will be a good idea.
Right. The proposed --sort option is a good idea.
Thanks,
Ludo’.