bug-cpio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-cpio] File foo grew, 0 new bytes not copied and field_width_error()


From: Peter Vrabec
Subject: [Bug-cpio] File foo grew, 0 new bytes not copied and field_width_error() fix
Date: Tue, 14 Mar 2006 15:20:09 -0500

Sergey,

please consider applying these patches:

$ dd if=/dev/zero of=/tmp/big bs=1M count=4500
$ find /tmp/big | ./cpio -o > archiv.cpio
cpio: File /tmp/big grew, 0 new bytes not copied
827393 blocks

after patch cpio-largeFileGrew.patch is applied

$ find /tmp/big | ./cpio -o > archiv.cpio
./cpio: /tmp/big: field width not sufficient for storing file size
1 block
$ echo $?
0

after patch cpio-toAsciiError.patch is applied

$ find /tmp/big | ./cpio -o > archiv.cpio
./cpio: /tmp/big: field width not sufficient for storing file size
$ echo $?
1

and that seems to be alright for me.

cpio was compiled on i386 with -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE








Attachment: cpio-largeFileGrew.patch
Description: Text Data

Attachment: cpio-toAsciiError.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]