Subject: misc/21009: tar -X is documented as having two very different effects
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jbernard@mines.edu>
List: netbsd-bugs
Date: 04/04/2003 09:56:30
>Number:         21009
>Category:       misc
>Synopsis:       tar -X is documented as having two very different effects
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 04 09:28:03 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jim Bernard
>Release:        NetBSD 1.6Q
>Organization:
>Environment:
System: NetBSD roc 1.6Q NetBSD 1.6Q (ROC-$Revision: 1.39 $) #0: Sat Mar 22 17:39:13 MST 2003 jim@roc:/wd1/var/tmp/compile/sys/arch/i386/compile/ROC i386
Architecture: i386
Machine: i386
>Description:
	The man page tar(1) says:

          -X file, --exclude-from file
                   Exclude files listed in the given file.  Do not cross mount
                   points in the file system.

	Of course, both cannot be true (at least it doesn't make sense
	to combine these two features).  The first describes the behavior
	of gnu tar, and the second describes the behavior of pax (as pax).

>How-To-Repeat:
	man tar

>Fix:
	Delete the second sentence; the first is the correct one
	(see bin/pax/options.c).

>Release-Note:
>Audit-Trail:
>Unformatted: