Red Hat Bugzilla – Bug 106700
'split' doesn't support large files (>2GB)
Last modified: 2007-04-18 12:58:16 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701
Description of problem:
When trying to use 'split -b' to split a huge tar file into 4.3 gb chunks
suitable for burning on to DVD-R discs, I ran into this problem. You can't make
'split' output files that are >2GB.
Fortunately, I found a patch on the bug-coreutils mailing list:
After a bit of mangling to make it apply cleanly, 'split' behaves much better
and I was able to burn my DVD-Rs. The mangled patch is here:
Jim Meyering, who posted that patch, is listed as one of the coreutils
maintainers on http://www.gnu.org/directory/coreutils.html. I'm not sure why
this patch hasn't been applied yet.
I'm reporting this against coreutils 5.0-20 in Rawhide, since that's the newest
version, but AFAICT it is present in all previous versions of coreutils,
including 5.0-14 in Fedora Test and 4.5.3-19 in Shrike.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. cat hugefile.tar | split -b 2048m
Actual Results: split: 2048m: invalid number of bytes
Try `split --help' for more information.
Thanks. Fixed in 5.0-23.
Excellent! Thanks for the quick response.