[CentOS] find /etc -size -1G return only empty files

Thu Mar 25 23:07:27 UTC 2010
Jobst Schmalenbach <jobst at barrett.com.au>

On Thu, Mar 25, 2010 at 07:45:14AM +0100, Ala1n Sp1neu8 (aspineux at gmail.com) wrote:
> Hello
> find /etc -size -1G

Very interesting way of finding all files with a file size of 0 ;-)

Jobst


> 
> should return all files less than 1Giga byte in /etc, but return a
> list of empty file (size=0)
> 
> find /etc -size -2G
> 
> work fine and return all the files
> 
> This works the same  on my fedora11 and my centos 5 !
> 
> Did I miss something or is it a bug ?
> 
> Regards
> 
> -- 
> Alain Spineux                         |  aspineux gmail com
> Your email 100% available             |  http://www.emailgency.com
> ntbackup and tar frontend sending mail report |
> http://www.magikmon.com/mkbackup/
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 
"She said she loved my mind, though by most accounts I had already lost it."

  | |0| |   Jobst Schmalenbach, jobst at barrett.com.au, General Manager
  | | |0|   Barrett Consulting Group P/L & The Meditation Room P/L
  |0|0|0|   +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia