aboutsummaryrefslogtreecommitdiff
path: root/doc/tar2sqfs.1
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-21 16:04:39 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-21 16:44:11 +0200
commit6d3ff186da6f59d2164662ca5f1052219f1d92fd (patch)
tree89139746e4d6fe2c1708a6191ee19fe5595a0437 /doc/tar2sqfs.1
parenta408953eebb0dc65441e9ec4becbc8e2dba6c0e8 (diff)
Update man pages
- Add "see also" references - Make some adjustments as suggested by man-pages(7) - Clarify environment variable behaviour Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'doc/tar2sqfs.1')
-rw-r--r--doc/tar2sqfs.18
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/tar2sqfs.1 b/doc/tar2sqfs.1
index 463125b..abbde6a 100644
--- a/doc/tar2sqfs.1
+++ b/doc/tar2sqfs.1
@@ -100,13 +100,17 @@ If any unsupported section or extended attribute key 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, unknown sections and unsupported
extended attributes are simply skipped after issuing a warning.
-.SH ENVIRONEMNT VARIABLES
+.SH ENVIRONEMNT
If the command line switch \fB\-\-defaults\fR is not used or no default mtime
is specified, the value of the environment variable \fBSOURCE\_DATE\_EPOCH\fR
is used for all file and filesystem timestamps.
If \fBSOURCE\_DATE\_EPOCH\fR is not set, not a parsable number or it is out of
range, the timestamps default to 0.
+
+Environment variables are only used if no explicit command line switches
+are set. Explicit command line switches are always preferred over the
+environment variables.
.SH EXAMPLES
.TP
Turn an uncompressed tar archive into a squashfs image:
@@ -120,6 +124,8 @@ zcat rootfs.tar.gz | tar2sqfs rootfs.sqfs
Turn an LZMA2 compressed tar archive into a squashfs image:
.IP
xzcat rootfs.tar.xz | tar2sqfs rootfs.sqfs
+.SH SEE ALSO
+gensquashfs(1), rdsquashfs(1), sqfs2tar(1)
.SH AUTHOR
Written by David Oberhollenzer.
.SH COPYRIGHT