Package: cpio
Version: 2.11+dfsg-1
Severity: normal
Tags: patch

The "mt" operation "erase" takes an argument, but this isn't well documented.
The attached patch fixes the manpage to describe the option.

-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-36-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cpio depends on:
ii  libc6  2.19-0ubuntu6.3

cpio recommends no packages.

Versions of packages cpio suggests:
ii  libarchive1  2.8.5-5

-- no debconf information
Description: Identify how to perform "fast erase" operations on devices that
 support it.
Author: Kees Cook <k...@debian.org>

Index: cpio-2.11+dfsg/doc/mt.1
===================================================================
--- cpio-2.11+dfsg.orig/doc/mt.1	2014-11-19 08:17:45.000000000 -0800
+++ cpio-2.11+dfsg/doc/mt.1	2014-11-19 08:18:59.539647798 -0800
@@ -92,7 +92,9 @@
 Rewind the tape, then wind it to the end of the reel,
 then rewind it again.
 .IP erase
-Erase the tape.
+Perform long erase of tape. If
+.I count
+is 0, perform short erase of tape (some devices do not support this).
 .PP
 .B mt
 exits with a status of 0 if the operation succeeded, 1 if the

Reply via email to