lkml.org 
[lkml]   [2000]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Used space in bytes
  Hello.

> On 9 Nov 00 at 19:18, Jan Kara wrote:
> > used (I tried to contact Ulrich Drepper <drepper@redhat.com> who should
> > be right person to ask about such things (at least I was said so) but go
> > no answer...). Does anybody have any better solution?
> > I know about two others - really ugly ones:
> > 1) fs specific ioctl()
> > 2) compute needed number of bytes from st_size and st_blocks, which is
> > currently possible but won't be in future
>
> If I may, please do not add it into stat/stat64 structure. On Netware,
> computing really used space can take eons because of it has to read
> allocation tables to memory to find size. It is usually about 500%
> slower than retrieving all other file informations.
And how do you fill in st_blocks field?

Honza

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.029 / U:4.192 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site