Bug 69449 - find -size does not find all files
find -size does not find all files
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: findutils (Show other bugs)
7.3
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Mike McLean
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2002-07-22 14:03:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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 
up.

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


How reproducible:
Always

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 
greater.

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.