[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9724.0. "find size limit" by ITARES::IT_710151 () Tue May 06 1997 07:20

    Hello,
    
    One of our customer with unix 4.o and advfs, needs (for backup reasons)
    to find files greater than 2GB.
    
    He is using the command:
    
    find . -size +numberk -print
    
    but the find command is able to find only files smaller than 2GB.
    
    Which suggestion can we give him.
    
    Thans in advance for any input.
    
    Antonello
    
T.RTitleUserPersonal
Name
DateLines
9724.1Does this work:QUARRY::reevesJon Reeves, UNIX compiler groupTue May 06 1997 13:061
find . ! -size -numberk -print [-print is actually redundant]
9724.2Customer says that it does not work!ITARES::IT_710151Wed May 07 1997 04:3514
    Jon,
    Thanks for the quick answer.
    
    The customer has tried but he says that he is still not able to find files
    greater than 2GB.
    
    Unfortunatly , I don't have the possibility to make a try (I don't have
    enough disk space).
    
    Regards,
    Antonello.
    
    
    
9724.3it's a real bugRHETT::MOOREWed May 07 1997 11:3811
    This is a real bug.  I tried it on our crash dump server at the
    Atlanta CSC (lots of big vmcores) and found that it finds files
    smaller than 2 GB, or bigger than 4 GB but less than 6 GB.  It
    doesn't find files between 2 and 4 GB, or 6 and 8 GB.  This sounds
    like the filesize is stored in bytes as a signed int.  I looked at
    the 4.0b sources for find and it does appear that this is the case.
    I'll file a QAR on it.
    
    Martin Moore
    Digital UNIX Support Group
    
9724.4Entered QAR 52907 for this problem.RHETT::MOOREWed May 07 1997 14:113
    Entered as QAR 52907.
    
    Martin
9724.5KITCHE::schottEric R. Schott USG Product ManagementWed May 07 1997 16:532
If you need a patch, file an IPMT..

9724.6fixed in SteelRHETT::MOOREFri May 09 1997 11:243
    I got a response to the QAR.  A fix has been submitted to Steel BL10.
    
    Martin
9724.7GNU in the meantime...KAMPUS::NEIDECKEREUROMEDIA: Distributed Multimedia ArchivesMon May 12 1997 14:004
    GNU find can be used by the customer in the meantime. It seems to
    work for me here.
    
    	ftp.digital.com/pub/GNU/findutils-4.1.tar.gz