public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Used space in bytes
@ 2000-11-09 19:31 Petr Vandrovec
  2000-11-14 17:39 ` Jan Kara
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Vandrovec @ 2000-11-09 19:31 UTC (permalink / raw)
  To: Jan Kara; +Cc: linux-fsdevel, linux-kernel

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.

Or at least add some parameter to stat so that filesystem can say which
informations are important for you. But I think that ioctl is less
ugly. But that's just my opinion and I know that others here are strongly
against ioctl.
                                           Best regards,
                                                        Petr Vandrovec
                                                        vandrove@vc.cvut.cz

-
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-11-14 20:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-09 19:31 Used space in bytes Petr Vandrovec
2000-11-14 17:39 ` Jan Kara
2000-11-14 19:31   ` [Off topic] UK patent office wants comments on software patent laws Lars Gaarden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox