From fa67c39896487a3f6f382d8a38c3663ca25646af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Thu, 10 Apr 2014 13:55:01 +0200 Subject: Update information about compatibility GNU tar now supports the 'ustar' format. --- lib/stdlib/doc/src/erl_tar.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/stdlib') diff --git a/lib/stdlib/doc/src/erl_tar.xml b/lib/stdlib/doc/src/erl_tar.xml index afa4196be1..ccf0f3901f 100644 --- a/lib/stdlib/doc/src/erl_tar.xml +++ b/lib/stdlib/doc/src/erl_tar.xml @@ -35,10 +35,11 @@ Unix 'tar' utility for reading and writing tar archives

The erl_tar module archives and extract files to and from - a tar file. The tar file format is the POSIX extended tar file format - specified in IEEE Std 1003.1 and ISO/IEC 9945-1. That is the same - format as used by tar program on Solaris, but is not the same - as used by the GNU tar program.

+ a tar file. erl_tar supports the ustar format + (IEEE Std 1003.1 and ISO/IEC 9945-1). All modern tar + programs (including GNU tar) can read this format. To ensure that + that GNU tar produces a tar file that erl_tar can read, + give the --format=ustar option to GNU tar.

By convention, the name of a tar file should end in ".tar". To abide to the convention, you'll need to add ".tar" yourself to the name.

-- cgit v1.2.3