Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!hao!oddjob!uwvax!umn-d-ub!umn-cs!ems!nis!stag!trb From: trb@stag.UUCP ( Todd Burkey ) Newsgroups: comp.sys.atari.st Subject: Re: GEMDOS bug (attn -- Alex) Message-ID: <344@stag.UUCP> Date: 22 Feb 88 05:48:09 GMT References: <8802190133.AA02942@ucbvax.Berkeley.EDU> Reply-To: trb@stag.UUCP ( Todd Burkey ) Organization: Mindtools ST Access Group, Plymouth, MN Lines: 43 In article <8802190133.AA02942@ucbvax.Berkeley.EDU> JEMCCABE@MTUS5.BITNET writes: >Date: 18 February 1988, 12:35:09 EST >From: Jim McCabe JEMCCABE at MTUS5 >To: INFO-ATARI16 at SCORE.STANFORD.EDU >Subject: GEMDOS bug (attn -- Alex) > >[] > >I have found an annoying bug in GEMDOS, and it occurs so frequently >that I'm sure someone out there must know how to avoid it. > >new disk. After swapping disks, my application has no trouble locating >files in the root directory, but all attempts to open files that are >in a subdirectory of the new disk fail with an error -33 (file not >found). > >I asked this question before, back in October '87. Mike Fischer I asked the same question a year ago when I was writing HDSCAN. Had the same problem, but since HDSCAN wasn't really intended to do much heavy work FROM the floppy, I decided to hold of on the workarounds. I tried LOTS of permutations with doing FSFIRST, etc. It would work sometimes, but not reliably. I just got through writing a new program that has to read the floppy subdirectories, but now I can't get the problem to pop up at all. I am using MWC 2.xx (I originally had the problem on MWC 1.x and OSS Pascal 1.xx both of which are dust now). The file open calls I am currently using to open the files for access are Fopen and fopen (don't ask...) and I do try to open a file at the root level (either a direct file or the volume name...doesn't matter) before any access to the sub-directories on the disk. This is one of those problems that makes it so fun when I port my code back and forth between the ST and Unix... -Todd Burkey (Yes, Jim S...DISKSCAN is now done and you really will get the first copy! And the TOOL-WARE version will be in the Snail Mail to those of you patient people who liked DISKTOP enough to send in $$. Note that I am hesitant to use the 'S' ware word on the net after all the strange arguments that pop up when people see it :-). Oh, BTW, DISKTOP is shelved until OSS Pascal 3.00, or whatever version, fixes the flakiness in 2.xx. I don't expect any future for DISKTOP with DISKSCAN available, anyway...)