Bug 106700

Summary: 'split' doesn't support large files (>2GB)
Product: [Retired] Red Hat Raw Hide Reporter: Need Real Name <ben>
Component: coreutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://www.telesector.net/browse/index.php?path=%2Ffiles%2FSoftware%2FUtilities%2Fsplit
Whiteboard:
Fixed In Version: 5.0-23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-10-10 10:05:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2003-10-09 18:15:55 UTC
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:
http://mail.gnu.org/archive/html/bug-coreutils/2003-04/msg00044.html

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:
http://www.telesector.net/browse/index.php?path=%2Ffiles%2FSoftware%2FUtilities%2Fsplit

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):
5.0-20

How reproducible:
Always

Steps to Reproduce:
1. cat hugefile.tar | split -b 2048m

Actual Results:  split: 2048m: invalid number of bytes
Try `split --help' for more information.

Comment 1 Tim Waugh 2003-10-10 10:05:17 UTC
Thanks.  Fixed in 5.0-23.

Comment 2 Need Real Name 2003-10-10 17:46:20 UTC
Excellent! Thanks for the quick response.