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: Sean Fulton
Subject: Re: [Bug-cpio] cpio can't read large files
Date: Tue, 10 Jan 2006 06:58:14 -0500
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

I will try. But 8 G still seems kind of small. Are there plans to change this?


Sergey Poznyakoff wrote:

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


--
Sean Fulton
GCN Publishing, Inc.
Internet Design, Development and Consulting For Today's Media Companies
http://www.gcnpublishing.com
(914) 937-2451, x203






reply via email to

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