解决方法
Another weakness of the tar format compared to other archive formats is that there is no centralized location for the information about the contents of the file (a “table of contents” of sorts). So to list the names of the files that are in the archive,one must read through the entire archive and look for places where files start. Also,to extract one small file from the archive,instead of being able to lookup the offset in a table and go directly to that location,like other archive formats,with tar,one has to read through the entire archive,looking for the place where the desired file starts. For large tar archives,this causes a big performance penalty,making tar archives unsuitable for situations that often require random access of individual files.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。