Pavel Raiskup <prais...@redhat.com> ha escrit: > tar -cvvf test.tar -T LIST1 -T LIST1 -T LIST2 > > Before these changes, tar failed immediately (before even tried to store > files defined in LIST1). Now it firstly stores everything from FILE1 and > then fails (it may take hours to process FILE1 to reach this failure).
Ah, that's important indeed. Thanks for spotting that! Actually, the main reason why tar checks for the same file being read twice is to avoid recursive inclusion (e.g. "-T LIST1" appearing in LIST1 itself). So perhaps tar should allow subsequent (as opposed to recursive) reads of the same file? Regards, Sergey