Bug 133386

Summary: tee does not support large files
Product: Red Hat Enterprise Linux 2.1 Reporter: Alexandre CUILLERIER <acuillerier>
Component: sh-utilsAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:05:50 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 Alexandre CUILLERIER 2004-09-23 17:37:32 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET 
CLR 1.1.4322)

Description of problem:
/usr/bin/tee doesn't support large files (ie >2GB)
example:
$ cat /dev/zero |tee tmpt1.zero 
File size limit exceeded
$ls -lh tmpt1.zero
-rw-rw-r--    1 toto     toto         2.0G Sep 23 13:58 tmpt1.zero


Version-Release number of selected component (if applicable):
sh-utils-2.0.11-5.1

How reproducible:
Always

Steps to Reproduce:
1. use tee to generate a file
2.
3.
    

Additional info:

Comment 1 Tim Waugh 2004-09-24 07:39:03 UTC
This has the same root cause as bug #128390, which will be addressed
in a future update.

*** This bug has been marked as a duplicate of 128390 ***

Comment 2 Alexandre CUILLERIER 2004-09-24 09:40:39 UTC
Ok, thank you for replying.
I've applied the modification to sh-utils.spec
(removal of --disable-largefile on %configure line)

After recompilation, all seems to functions correctly now.
Thanks again.

Comment 3 Red Hat Bugzilla 2006-02-21 19:05:50 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.