Skip to content

heguangyu5/qtar

 
 

Repository files navigation

qtar

See https://www.simula.no/publications/improving-disk-io-performance-linux

This is a minimal test program writing to /tmp/z.tar without any compression.

Usage

sudo qtar /path/to/input-dir > /tmp/files.list
cd /path/to/input-dir
sudo tar zcf /tmp/a.tar.gz -T /tmp/files.list

OR

./qtar-tar-gz.sh /path/to/input-dir /path/to/output.tar.gz
注意路径要用绝对路径

问题

  1. archive_write_set_format_ustar 不能处理长文件名
  2. archive_write_set_format_pax Can't translate pathname 'XXX' to UTF-8

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 90.6%
  • Shell 6.5%
  • Makefile 2.1%
  • C 0.8%