From b51a3ab10fad0d00c6fe2aa4d4c1afc6cfcf371f Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 3 Jul 2019 12:28:37 +0200 Subject: Add no-skip option to tar2sqfs Signed-off-by: David Oberhollenzer --- doc/tar2sqfs.1 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/tar2sqfs.1 b/doc/tar2sqfs.1 index c43e412..c1cb619 100644 --- a/doc/tar2sqfs.1 +++ b/doc/tar2sqfs.1 @@ -51,6 +51,9 @@ mtime=;0 .TE .TP .TP +\fB\-\-no\-skip\fR, \fB\-s\fR +Abort if a tar record cannot be read instead of skipping it. +.TP \fB\-\-force\fR, \fB\-f\fR Overwrite the output file if it exists. .TP @@ -73,8 +76,9 @@ older, legacy headers are not supported) and extensions like sparse files. Hard links are currently not supported and silently converted to symlinks. Furthermore, none of the various xattr extensions are currently implemented. -If any unsupported section is encountered in an archive, the section is skipped -and a warning message is written to stderr. +If any unsupported section is encountered in an archive a warning message is +written to stderr. If the \fB\-\-no\-skip\fR option is set, processing aborts. +By default, the unknown section is simply skipped after issuing a warning. .SH EXAMPLES .TP Turn an uncompressed tar archive into a squashfs image: -- cgit v1.2.3