On Nov 7, 2012, at 7:42 AM, Live user wrote: > On 07/11/2012 16:37, Joerg Schilling wrote: >> >> There would at least be a need to find repeated names. >> > > If that isn't done already, how is tar creating a hard link instead of adding > the file twice?
GNU tar does keep one name for every file. But that doesn't help if the name that's repeated isn't the first name. Other tar implementations economize on memory by only keeping names for files that are "known" to have links (have a link count > 1). Those implementations won't be able to do this. Tim