Xref: utzoo comp.sys.amiga:19691 comp.sys.amiga.tech:903 Path: utzoo!attcan!uunet!cbmvax!steveb From: steveb@cbmvax.UUCP (Steve Beats) Newsgroups: comp.sys.amiga,comp.sys.amiga.tech Subject: Re: Disk corrupt - task held Keywords: guru to the maximum frustrastion Message-ID: <3932@cbmvax.UUCP> Date: 6 Jun 88 15:13:51 GMT References: <1657@vaxb.calgary.UUCP> Reply-To: steveb@cbmvax.UUCP (Steve Beats) Distribution: na Organization: Commodore Technology, West Chester, PA Lines: 35 In article <1657@vaxb.calgary.UUCP> maloff@calgary.UUCP (Sheldon Maloff) writes: >I've had this happen to me a few times now, and I'm beginning to get annoyed. > > Disk Corrupt - Task Held > Finish ALL Disk Activity > etc. > >I go straight into a guru of this form > > 8700000B.265F48F1 > >So I look up in my handy Amiga-Guru book on what this means and I find >out we have a fatal error in the dos library, specifically key out of range. > Yeah, I know! This should really be considered an 'A' bug (one which should be fixed before release) but it hasn't been. The current version of FFS has the same code, and will guru on you if a file or directory header contains a reference to a key outside the partition (or floppy) bounds. I could go on for ages about how difficult it is to trap errors like that, and then exit gracefully. Exactly what do you do when the data coming off disk are bad ? But I won't! Suffice to say, that for the 1.4 release, when FFS is in ROM and supporting old (slow FS) format, these guru's will dissappear forever. I'm planning to put a little more information into the requesters that will tell the user which file has the error (if it was a file) and what error code was returned from the driver. I'd also like to add an extra gadget, IGNORE, so that files containing bad sectors can at least be partially read. What the hell. Does anyone out there have suggestions for improvement on the file system error handling? I mean JUST error handling, OK. I'm not planning to change the functionality of the file system to any large degree, though there will be a few 'extras' in there. Oh yeah, any and all comments about the file system having bad block handling will be summarily ignored :-) Steve