Large disk enhancement to BLOCKS.SBR: new optional unitscale parameter may be specified to scale the return values to something other than 512-byte blocks (which are pretty useless these days). New syntax:
xcall BLOCKS, device, blks, cblks {,tblks {,unitscale}}
where the new parameter unitscale (num) [in] if specified, may specify a scale factor for the returned "block" units:
Value |
Size of "block" |
---|---|
0 or not specified |
512 bytes |
1 |
1 KB |
11 |
1 MB |
21 |
1 GB |
Comments
• | unitscale values are actually powers of 2 to be used relative to the number of 512-byte blocks. |
• | the unitscale option has also been added to proprietary routines DSPACE and LIBRE, which are approxiamately the same as BLOCKS.SBR |
• | the overflow problem affected SYSTAT.LIT, with or without the /H (human readable) option |