Path: 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 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.