Tim Kientzle <[email protected]> wrote: > The option you propose can have unpleasant implications > for tar's memory requirements. Sorting each directory > requires first reading all the items in that directory > into memory.
Star reads all directory entries at once since 10 years after I did some research on memory consumption. It turns out, that if you are _really_ _low_ with memory, it is better to use the 35 year old aproach (use star -lowmem to switch to that method), but the memory consumption compared to the fact that star uses a FIFO (by default 1MB on very old machines, 4MB on Linux due to problems with mmap() on Linux and 8MB on other systems) makes memory consumption appearance a bit more relative now. Note that for incremental backups, we need to read all directory entries for a specific directory at once anyway..... Jörg -- EMail:[email protected] (home) Jörg Schilling D-13353 Berlin [email protected] (uni) [email protected] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
