aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ar/ar.1
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2010-10-09 05:31:08 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2010-10-09 05:31:08 +0000
commit0e479ac8f7a2d846f5e73fb07d7504fedb89d653 (patch)
tree2553e2bcd168f62d37e7f3fd998d5ea9a1b01f29 /usr.bin/ar/ar.1
parentcf7d9a8ca86f4febb0a4d0d029474b4ec6b6706b (diff)
Notes
Diffstat (limited to 'usr.bin/ar/ar.1')
-rw-r--r--usr.bin/ar/ar.111
1 files changed, 11 insertions, 0 deletions
diff --git a/usr.bin/ar/ar.1 b/usr.bin/ar/ar.1
index 3a8b75373aab..c64c7f64ac6e 100644
--- a/usr.bin/ar/ar.1
+++ b/usr.bin/ar/ar.1
@@ -62,6 +62,7 @@
.Op Fl a Ar position-after
.Op Fl b Ar position-before
.Op Fl c
+.Op Fl D
.Op Fl i Ar position-before
.Op Fl j
.Op Fl s
@@ -179,6 +180,16 @@ from the archive specified by argument
.Ar archive .
The archive's symbol table, if present, is updated to reflect
the new contents of the archive.
+.It Fl D
+When used in combination with the
+.Fl r
+or
+.Fl q
+option, insert 0's instead of the real mtime, uid and gid values
+and 0644 instead of file mode from the members named by arguments
+.Ar files ... .
+This ensures that checksums on the resulting archives are reproducible
+when member contents are identical.
.It Fl f
Synonymous with option
.Fl T .