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

VAXman- at SendSpamHere.ORG VAXman- at SendSpamHere.ORG
Wed Jun 29 08:15:04 EDT 2016


In article <nl0125$ecv$1 at Iltempo.Update.UU.SE>, Johnny Billquist <bqt at softjar.se> writes:
>On 2016-06-28 00:39, VAXman- at SendSpamHere.ORG wrote:
>> In article <nks6g5$dk1$1 at Iltempo.Update.UU.SE>, Johnny Billquist <bqt at softjar.se> writes:
>>> On 2016-06-27 23:29, VAXman- at SendSpamHere.ORG wrote:
>>>> In article <nks2sl$4ce$1 at Iltempo.Update.UU.SE>, Johnny Billquist <bqt at softjar.se> writes:
>>>>> Like I said, the code you showed for the C$STD_STAT() is equally useless.
>>>>
>>>> But it IS the file size; it's not the recorded data size.  You DON'T WANT the
>>>> file size -- which the computation provides; you want the recorded data size
>>>> -- which that computation does not necessarily provide you.
>>>
>>> Well, what do you mean by file size then? The number this computation
>>> gives is neither the number of bytes used on the disk, nor the number of
>>> bytes I would get if I read the file.
>>
>> It *IS* the number of bytes used on the disk.  Explain how it is not.
>
>The number of bytes used on the disk wold be a number evenly divisible 
>by 512, and furthermore, it should be based on the number of blocks 
>allocated, not whatever block is marked as the end block.
>
>*That is the number of bytes used on the disk*
>
>Anything else is not. If you disagree with me, be prepared for another 
>fight. :-)

See how well that works for you when you need to append a chunk of data (ie. a
record) to your files.

Blocks are the container for the file, much like a bottle contains a fluid.  I
want the fluid the bottle contains, not the air space encapsulated with it.  In
that vein, the number of bytes in the file, as per my computation, is where my
bottle of fluid's meniscus exists.  If I add to the bottle's fluid (block), it
continues adding to the volume until I can add no more. At that point, I'd need
another bottle (block).  When I buy beer, for example, it is taxed per volume
(fluid oz. or millilitres) of the beer, not the bottle.  The bottle(s) and the
carrier are incidentals for management/storage/mobility.

So, it IS the size of the file on disk.  If the file system allocates larger or
more bottles for the file, it doesn't make the fact that the file is 'n' bytes. 
-- 
VAXman- A Bored Certified VMS Kernel Mode Hacker    VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.



More information about the Info-vax mailing list