On Sat, 23 Nov 2002, William A. Rowe, Jr. wrote:
> At 09:51 AM 11/23/2002, [EMAIL PROTECTED] wrote:
>
> >is anybody actually using this field? We don't fill it out on Unix, and I
> >question if it is even possible for us to fill it out.
>
> It's an N/A on Unix unless you have a compression filesystem, and
> then it's kernel dependent how exactly one retrieves it. Although it
> is somewhat internal, it would be useful if you are trying to determine
> real storage consumed on a device.
>
> But if we are attempting to relate file size to a physical device, perhaps
> we should redefine it as physical size (e.g. compressed size, if available,
> then rounded to the physical block size.) Thoughts?
I am trying to remove fields that are not portable in transparent
structures. At the very least, actually document what it is, because
right now the only doc is:
/** The storage size consumed by the file */
I had no concept that that had anything to do with compression.
Ryan