Mail Archives: djgpp-workers/1999/01/03/11:08:36
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
- Raw text -