Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 69449 - find -size does not find all files
find -size does not find all files
Product: Red Hat Linux
Classification: Retired
Component: findutils (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2002-07-22 14:03 EDT by Need Real Name
Modified: 2007-04-18 12:44 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-07-22 14:03:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2002-07-22 14:03:41 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Description of problem:
Verified in 7.3, 7.2, and 7.1.  When I run the find command from root as 
root: "find . -size 500k", find comes back with a few files from throughout 
the drive.  I know there are more files with that size or greater.  For 
example, I know that some log files are 1.5 meg - 10meg in size.  Even if I 
run this command from within the /var/log directory, these files do not show 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.(as root)
2.cd /
3.find . -size 500k


Actual Results:  misc files come up with 500k or greater, most files with this 
size are missing.  I know there are many more files that are 500k in size or 

Expected Results:  all files that are 500k or greater being displayed on 
screen from throughout the whole drive

Additional info:

verified on 5 systems from 7.1 - 7.3.

Verified utils are same version and size as delivered on CD, (made sure the 
servers are not hacked.)
Comment 1 Mike McLean 2002-07-22 14:34:39 EDT
The argument '-size 500k' causes find to look for files that are *exactly* 500k
in size.  If you want files with size greater that 500k, the correct argument is
'-size +500k'.

Note You need to log in before you can comment on or make changes to this bug.