On Mon, Jan 02, 2006 at 11:31:13PM +0100, Otto Moerbeek wrote:
> OK, then the cpio man page in -current is in error.

That's my mistake, I asked jmc@ to change it to 64GB where it is actually
8GB, cpio doesn't add a space or null termination on the 12th digit so it
should be ok, only tar and ustar were off.  When I looked at it I must
have looked at tar_rd() and saw it use asc_ul() which doesn't care much
for the terminator and didn't look at tar_wr() which uses uqd_oct() that
adds the terminator thus shortening the amount of digits for the octal
value.

Here is the updated patch:

Index: cpio.1
===================================================================
RCS file: /cvs/src/bin/pax/cpio.1,v
retrieving revision 1.22
diff -u -r1.22 cpio.1
--- cpio.1      15 Nov 2005 00:00:28 -0000      1.22
+++ cpio.1      3 Jan 2006 16:54:12 -0000
@@ -292,8 +292,8 @@
 .It bcpio Ta 4 Gigabytes
 .It sv4cpio Ta 4 Gigabytes
 .It cpio Ta 8 Gigabytes
-.It tar Ta 64 Gigabytes
-.It ustar Ta 64 Gigabytes
+.It tar Ta 8 Gigabytes
+.It ustar Ta 8 Gigabytes
 .El
 .Sh BUGS
 The
---- CUT HERE ---

> BTW, to solve the OP problem: try using dump(8) instead of tar(1).
> 
>       -Otto

Sorry for the misinformation which was caused by me.

-peter

Reply via email to