From: Martin Str|mberg Message-Id: <199901031607.RAA15693@father.ludd.luth.se> Subject: Re: FAT32X and DJGPP To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) Date: Sun, 3 Jan 1999 17:07:00 +0100 (MET) Cc: djgpp-workers AT delorie DOT com (DJGPP-WORKERS) In-Reply-To: from Eli Zaretskii at "Jan 3, 99 11:07:52 am" X-Mailer: ELM [version 2.4ME+ PL15 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com According to Eli Zaretskii: > > On Sat, 2 Jan 1999, Martin Str|mberg wrote: > > > Please try the program and see if it reports the right FAT file system. > > (And yes I know it's hackish, including hick-ups.) > > It wedged my entire system, but hey, you *did* warn me ;-). Hrmm. Oops. Sorry. On my system it switches to full screen mode and WINDOZE demands that you insert a disk in drive A: followed by B:. The system recupperates though. Perhaps those of you that are cautious should moduify the program to only check one drive per invocation (helps perhaps?). > It does seem to report correct filesystem type, though. Ok. Then it working on WINDOZE 4.1 (98) English version with Swedish settings in DOZE box and in plain (WINDOZE 4.1 (98)) DOZE. What platform did you try it on? > > Well, an interrupt and a strncmp should suffice. Is that expensive? Perhaps > > we should/could cache it? > > I think this info should be cached, yes. Thinking about the caching. Should that be done on an open() file basis or just once (when the first file on that partition is opened)? I'm mainly thinking of what would happen if somebody reformats their D: drive to another FAT system, while a DJGPP program is running. The X in FAT32X (cf. Subject)? Is that relevant? Holmboe, Symphony No. 7, MartinS