Manual page edit to describe new options.

Related #850291
This commit is contained in:
Pavel Raiskup 2012-08-22 12:04:57 +02:00
parent c7a84f9c9c
commit 130db747c9
2 changed files with 34 additions and 21 deletions

46
tar.1
View File

@ -159,10 +159,7 @@ extract files to standard output
\fB\-\-to\-command\fR=\fICOMMAND\fR \fB\-\-to\-command\fR=\fICOMMAND\fR
pipe extracted files to another program pipe extracted files to another program
.IP .IP
Handling of file attributes: .SH \fBHandling of file attributes:\fR
.TP
\fB\-\-acls\fR
Save the ACLs to the archive
.TP .TP
\fB\-\-atime\-preserve\fR[=\fIMETHOD\fR] \fB\-\-atime\-preserve\fR[=\fIMETHOD\fR]
preserve access times on dumped files, either preserve access times on dumped files, either
@ -187,9 +184,6 @@ set mtime for added files from DATE\-OR\-FILE
\fB\-m\fR, \fB\-\-touch\fR \fB\-m\fR, \fB\-\-touch\fR
don't extract file modified time don't extract file modified time
.TP .TP
\fB\-\-no\-acls\fR
Don't extract the ACLs from the archive
.TP
\fB\-\-no\-delay\-directory\-restore\fR \fB\-\-no\-delay\-directory\-restore\fR
cancel the effect of \fB\-\-delay\-directory\-restore\fR cancel the effect of \fB\-\-delay\-directory\-restore\fR
option option
@ -202,13 +196,6 @@ users)
apply the user's umask when extracting permissions apply the user's umask when extracting permissions
from the archive (default for ordinary users) from the archive (default for ordinary users)
.TP .TP
\fB\-\-no\-selinux\fR
Don't extract the SELinux context from the archive
.TP
\fB\-\-no\-xattrs\fR
Don't extract the user/root xattrs from the
archive
.TP
\fB\-\-numeric\-owner\fR \fB\-\-numeric\-owner\fR
always use numbers for user/group names always use numbers for user/group names
.TP .TP
@ -228,12 +215,32 @@ exists in the archive (default for superuser)
.TP .TP
\fB\-s\fR, \fB\-\-preserve\-order\fR, \fB\-\-same\-order\fR \fB\-s\fR, \fB\-\-preserve\-order\fR, \fB\-\-same\-order\fR
sort names to extract to match archive sort names to extract to match archive
.IP
.SH \fBHandling of extended file attributes:\fR
.TP
\fB\-\-acls\fR
Enable the POSIX ACLs support
.TP
\fB\-\-no\-acls\fR
Disable the POSIX ACLs support
.TP
\fB\-\-no\-selinux\fR
Disable the SELinux context support
.TP
\fB\-\-no\-xattrs\fR
Disable extended attributes support
.TP .TP
\fB\-\-selinux\fR \fB\-\-selinux\fR
Save the SELinux context to the archive Enable the SELinux context support
.TP .TP
\fB\-\-xattrs\fR \fB\-\-xattrs\fR
Save the user/root xattrs to the archive Enable extended attributes support
.TP
\fB\-\-xattrs\-exclude\fR=\fIMASK\fR
specify the exclude pattern for xattr keys
.TP
\fB\-\-xattrs\-include\fR=\fIMASK\fR
specify the include pattern for xattr keys
.IP .IP
.SH \fBDevice selection and switching:\fR .SH \fBDevice selection and switching:\fR
.TP .TP
@ -276,11 +283,12 @@ ignore zeroed blocks in archive (means EOF)
NUMBER of bytes per record, multiple of 512 NUMBER of bytes per record, multiple of 512
.IP .IP
.SH \fBArchive format selection:\fR .SH \fBArchive format selection:\fR
.TP
\fB\-H\fR, \fB\-\-format\fR=\fIFORMAT\fR \fB\-H\fR, \fB\-\-format\fR=\fIFORMAT\fR
.RS
create archive of the given format create archive of the given format
.IP .sp
FORMAT is one of the following: FORMAT is one of the following:
.RS
.TP .TP
gnu gnu
GNU tar 1.13.x format GNU tar 1.13.x format
@ -299,6 +307,8 @@ POSIX 1003.1\-1988 (ustar) format
.TP .TP
v7 v7
old V7 tar format old V7 tar format
.RE
.RE
.TP .TP
\fB\-\-old\-archive\fR, \fB\-\-portability\fR \fB\-\-old\-archive\fR, \fB\-\-portability\fR
same as \fB\-\-format\fR=\fIv7\fR same as \fB\-\-format\fR=\fIv7\fR

View File

@ -5,7 +5,7 @@ Summary: A GNU file archiving program
Name: tar Name: tar
Epoch: 2 Epoch: 2
Version: 1.26 Version: 1.26
Release: 10%{?dist} Release: 11%{?dist}
License: GPLv3+ License: GPLv3+
Group: Applications/Archiving Group: Applications/Archiving
URL: http://www.gnu.org/software/tar/ URL: http://www.gnu.org/software/tar/
@ -139,7 +139,10 @@ fi
%{_infodir}/tar.info* %{_infodir}/tar.info*
%changelog %changelog
* Tue Aug 21 2012 Pavel Raiskup <praiskup@redhat.com 2:1.26-10 * Wed Aug 22 2012 Pavel Raiskup <praiskup@redhat.com> 2:1.26-11
- fix manpage to reflect #850291 related commit
* Tue Aug 21 2012 Pavel Raiskup <praiskup@redhat.com> 2:1.26-10
- prepare Gnulib for new xattrs (#850291) - prepare Gnulib for new xattrs (#850291)
- new version of RH xattrs patch (#850291) - new version of RH xattrs patch (#850291)
- enable verbose mode in testsuite to allow better debugging on error - enable verbose mode in testsuite to allow better debugging on error
@ -147,7 +150,7 @@ fi
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.26-9 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.26-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Jul 12 2012 Pavel Raiskup <praiskup@redhat.com 2:1.26-8 * Thu Jul 12 2012 Pavel Raiskup <praiskup@redhat.com> 2:1.26-8
- force the fchown() be called before xattrs_set() (#771927) - force the fchown() be called before xattrs_set() (#771927)
* Sat Jun 16 2012 Ondrej Vasik <ovasik@redhat.com> 2:1.26-7 * Sat Jun 16 2012 Ondrej Vasik <ovasik@redhat.com> 2:1.26-7