Article View: comp.sys.amiga.tech
Article #9680Re: divide by 0 problem in "info"? Also: GOMF
From: Andy Finkel
Date: Fri, 02 Sep 1988 21:28
Date: Fri, 02 Sep 1988 21:28
23 lines
1385 bytes
1385 bytes
In article <8808311804.AA19391@cory.Berkeley.EDU> dillon@CORY.BERKELEY.EDU (Matt Dillon) writes:
>
>:Honest! It really happened to me. I just innocently typed "info" at my
>:CLI. It gave me a list of mounted disks and their used space, free,
>
> This is a bug in RAM: ... sometimes it looses track of the number
>blocks free / allocated and it becomes 0. INFO assumes that disk devices
Actually, there was a bug in the info command, and a bug in ram.
Info assumed 2 reserved blocks, rather than reading the environment
vector. (It also didn't check for a possible divide by 0). I fixed
both for 1.3. RAM also had a bug, involving deleting directories.
(essentually, the block count became 1 off) I fixed than one, too.
--
andy finkel {uunet|rutgers|amiga}!cbmvax!andy
Commodore-Amiga, Inc.
"If we can't fix it, it ain't broke."
Any expressed opinions are mine; but feel free to share.
I disclaim all responsibilities, all shapes, all sizes, all colors.
Technical Details
Message-ID:
<4645@cbmvax.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!cbmvax!andyReferences:
<8808311804.AA19391@cory.Berkeley.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!cbmvax!andy From: andy@cbmvax.UUCP (Andy Finkel) Newsgroups: comp.sys.amiga.tech Subject: Re: divide by 0 problem in "info"? Also: GOMF Message-ID: <4645@cbmvax.UUCP> Date: 2 Sep 88 21:28:15 GMT References: <8808311804.AA19391@cory.Berkeley.EDU> Reply-To: andy@cbmvax.UUCP (Andy Finkel) Organization: Commodore Technology, West Chester, PA Lines: 23