[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Thu, 7 Oct 2004 23:15:52 +0100
On Fri, Aug 20, 2004 at 09:52:48AM +0100, Tim Waugh wrote:
> On Thu, Aug 19, 2004 at 01:44:39PM -0400, Bob Keyes wrote:
> > find version 4.1.20, as in debian testing.
> > when the -size option is used, and the number is followed by b, it is
> > ignored and blocks are returned. According to the man page, the build-in
> > help file, and reason it should interpret this to be bytes.
> No, I think you've been the victim of sloppy wording.
> Here is the patch we apply for Fedora Core:
This is fixed in CVS as follows :-
.IP "\-size \fIn\fR[cwbkMG]"
File uses \fIn\fP units of space. The following suffixes
can be used:
for 512-byte blocks (this is the default if no suffix is used)
for two-byte words
for Kilobytes (units of 1024 bytes)
for Megabytes (units of 1048576 bytes)
for Gigabytes (units of 1073741824 bytes)
The size does not count indirect blocks, but it does count blocks in
sparse files that are not actually allocated. Bear in mind that the
`%k' and `%b' format specifiers of \-printf handle sparse files
differently. The `b' suffix always denotes 512-byte blocks and never
1 Kilobyte blocks, which is different to the behaviour of \-ls.
|[Prev in Thread]
||[Next in Thread]|
- Re: bug,
James Youngman <=