bug-cpio
[Top][All Lists]
Advanced

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

Re: [Bug-cpio] cpio can't read large files


From: Sergey Poznyakoff
Subject: Re: [Bug-cpio] cpio can't read large files
Date: Tue, 10 Jan 2006 12:17:19 EET

Sean Fulton <address@hidden> wrote:

> Try cpio-2.6-9.FC4 or cpio-2.6-10(devel), file limit size has been enlarged to
> 4GB there. Because of cpio header it is not possible to get over 4GB 
> limit.It's
> up to upstream to change it.

Indeed, the file size field in a 'new' cpio header is 8 hex digits,
which limits the maximum file size to 4294967295 (4G-1) bytes. However,
GNU cpio supports other formats as well. In particular, 'old ascii' format
holds size as an 11-digit octal value, so it can accomodate file sizes of
up to 8589934591 (8G-1) bytes. To use 'old ascii' format, specify `-H odc'
command line option. 

Regards,
Sergey




reply via email to

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