🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #3235

Re: info mystery, where's 50k?

#3235
From: Larry Phillips
Date: Sun, 08 Apr 1990 23:08
31 lines
1994 bytes
In <2156@crash.cts.com>, oleg@pnet01.cts.com (Oleg Rovner) writes:
>I have a slight problem. When checking my Workbench1.3 disk, (a working copy
>with ARP1.3 installed) and other diss as well as RAD: with info from CLI, I
>get told all the standard junk, BUT my disks have the alleged capacity of 837K
> (including RAD: mounted with 80 cylinders). Now, I know it ain't so because
>when I check with a different system disk, I get told that my disks are 880k,
>like they are supposed to be. There are two questions. First, does ARP have
>anything to do with it (nothing showed up on the virus-checker), second, does
>anybody know what causes the effect.

ARP is the reason for the discrepancy. It uses a different method of calulating
bytes available.

The CBM INFO command tells you 880K, based upon 1760 blocks, 512 bytes per
block, resulting in 901120 bytes, which is exactly 880K (901120/1024).

The ARP INFO command tells you 837K, based on 1760 blocks, minus the root
block, bitmap block, and the two reserved blocks, leaving 1756 blocks. They
also calculate block size as 488 bytes, which is the actual number of data
bytes present in an OFS block. This gives you 1756*488 = 856928 bytes, or about
836.8K (856928/1024).

-larry

--
Entomology bugs me.
+-----------------------------------------------------------------------+ 
|   //   Larry Phillips                                                 |
| \X/    lphillips@lpami.wimsey.bc.ca -or- uunet!van-bc!lpami!lphillips |
|        COMPUSERVE: 76703,4322  -or-  76703.4322@compuserve.com        |
+-----------------------------------------------------------------------+
Technical Details
Message-ID: <1378@lpami.wimsey.bc.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!van-bc!

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!van-bc!
From: lphillips@lpami.wimsey.bc.ca (Larry Phillips)
Newsgroups: comp.sys.amiga.tech
Subject: Re: info mystery, where's 50k?
Message-ID: <1378@lpami.wimsey.bc.ca>
Date: 8 Apr 90 23:08:06 GMT
Lines: 31
Return-Path: <lpami!lphillips>
To: van-bc!rnews