Bug 69449 - find -size does not find all files
Summary: find -size does not find all files
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: findutils (Show other bugs)
(Show other bugs)
Version: 7.3
Hardware: i386 Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Mike McLean
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-07-22 18:03 UTC by Need Real Name
Modified: 2007-04-18 16:44 UTC (History)
0 users

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


Attachments (Terms of Use)

Description Need Real Name 2002-07-22 18:03:41 UTC
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 18:34:39 UTC
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.