[Rpm-maint] [RFC][PATCH] Large file support

FlorianFesti ffesti at redhat.com
Mon Mar 29 10:52:35 UTC 2010


On 03/26/2010 05:01 PM, Michael Schroeder wrote:
> Why does it need to be incompatible? How about saving oversized files
> in multiple parts. All but the last part would have size 0xffffffff.
>
> E.g. /tmp/longfile would be archived as:
> - cpio header size = 0xffffffff name=/tmp/longfile
> - cpio header size = 0x123      name=/tmp/longfile.part2
>
> When rpm's cpio unpack sees a file with size 0xffffffff it knows
> that it is just a part and skips the next cpio header + filename
May be this is just a bit too obvious...

First disadvantage I can think of is that "rpm2cpio | cpio" will no 
longer produce the file contents correctly. This is at least annoying. 
OTOH the implementation should be quite easy (and will postpone fixing 
the file content handling code and the fsm further - probably not a good 
thing but very tempting...).

Florian


More information about the Rpm-maint mailing list