Bug 158378 - cpio/bsdcpio(1) man page does not document -0 and --null options
Summary: cpio/bsdcpio(1) man page does not document -0 and --null options
Status: Closed Overcome By Events
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2011-06-28 10:10 UTC by Carl
Modified: 2021-09-27 19:08 UTC (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Carl 2011-06-28 10:10:12 UTC
The cpio(1), actually bsdcpio(1), man page makes no mention that the GNU cpio options -0 and --null are supported, but it turns out they actually are. The man page should be updated to reflect this fact and perhaps to include an example of use with the -print0 option of the find command.


Add missing options to cpio/bsdcpio(1) man page.
How-To-Repeat: Try the -0 or --null option:

# cpio --rubbish
cpio: Option --rubbish is not supported
Brief Usage:
  List:    cpio -it < archive
  Extract: cpio -i < archive
  Create:  cpio -o < filenames > archive
  Help:    cpio --help
# cpio --null
cpio: Must specify at least one of -i, -o, or -p
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2012-02-06 04:35:14 UTC
Responsible Changed
From-To: freebsd-doc->eadler

I'll take it.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2012-02-06 04:40:29 UTC
Responsible Changed
From-To: eadler->kientzle

over to maintainer
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:35 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 4 Felix Johnson freebsd_triage 2021-09-27 02:18:49 UTC
As of 09/26/2021, this option is documented in cpio(1) for FreeBSD 13.0.
I recommend closing this bug, no patch needed.