Re: [patch] -sparse predicate

2006-11-11 Thread dean gaudet
On Sat, 11 Nov 2006, James Youngman wrote: > Actually, the units in which st_blocks is measures are not st_blksize. > All that st_blksize tells you is a "preferred" IO request size for > efficient I/O. See the RATIONALE section of > http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/stat.

[patch] -sparse predicate

2006-11-10 Thread dean gaudet
this patch adds a -sparse predicate which is true iff the object is a file and the size is greater than the number of blocks * blocksize can represent. it would be cool if you would consider this for inclusion in findutils. thanks -dean Index: findutils-4.2.28/find/parser.c ==