[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-cpio] Large file archiving problem
From: |
Sergey Poznyakoff |
Subject: |
Re: [Bug-cpio] Large file archiving problem |
Date: |
Thu, 06 Mar 2008 13:44:05 +0200 |
Ladislav Michnovi <address@hidden> ha escrit:
> I have a problem which is reproducible with the latest 2.9.90 version
> and also with older versions.
> echo /tmp/bigfile | cpio -ocv >/dev/null
> cpio: /tmp/bigfile: field width not sufficient for storing file size
> The bigfile has 9885665280 bytes.
> I thought LFS should handle this.
It is a limitation of 'new ascii' format. There's probably nothing that
can be done about it. I'd suggest using another format instead. None
of the cpio formats are able to store files greater than 8G, so you will
need to use tar to archive such files.
> A colleague of mine has suggested this patch
With this patch cpio will not be able to read archives it produces.
Even if copyin.c and cpiohdr.h are modified to reflect this change,
the resulting patch will make GNU cpio incompatible not only with other
cpio implementations, but even with its own prior versions.
Regards,
Sergey