[Info-vax] Re; Spiralog, RMS Journaling (was Re: FREESPADRIFT)

Johnny Billquist bqt at softjar.se
Tue Jun 21 11:38:33 EDT 2016


On 2016-06-19 04:35, David Froble wrote:
> Jan-Erik Soderholm wrote:

>> Yes, but that is a simple calculation with 1 block = 512 bytes.
>> It does not correctly display partially filled blocks. I guess
>> that what most here are talking about is the size up to the
>> marker. Convering the used/allocated number of blocks is simple.
>>
>> Jan-Erik.
>
> I would suggest "what does it matter?"
>
> It's not like some other file is going to use the unused portion of some
> disk block, or, as suggested, unused part of 4096 bytes ....

No. But if you implement FTP, or a web server, or any number of other 
tools/programs, they are expected to report file sizes in bytes, and the 
byte count should be *accurate*. Even one byte off is not acceptable.
And that becomes costly if your system do not keep that information, and 
you have to calculate it yourself.

	Johnny




More information about the Info-vax mailing list