The .tar plug-in should remember the offset of the file
Posted: 06 Mar 2008, 17:35
I have made some backups using an uncompressed .tar file. When I want to extract a single file, the Salamander presents me with a long, long list of files that are skipped. It would be much more efficient to remember the offset where the file was found in the .tar archive and then to extract the data from that position in the file.
I also have the impression that the .tar plugin doesn't make use of seeking in a file. I have another archive with two entries, both about 300 MB large. When I open the archive from a CD-ROM, it takes a very long time to show me the listing. Much more time than I expect for a simple sequence of OpenFile(), ReadFile(header1), SetFilePosition(header1->size), ReadFile(header2), CloseFile().
Roland
I also have the impression that the .tar plugin doesn't make use of seeking in a file. I have another archive with two entries, both about 300 MB large. When I open the archive from a CD-ROM, it takes a very long time to show me the listing. Much more time than I expect for a simple sequence of OpenFile(), ReadFile(header1), SetFilePosition(header1->size), ReadFile(header2), CloseFile().
Roland