Mail Archives: djgpp-workers/1997/10/14/04:42:52
On 14 Oct 97 at 10:30, Eli Zaretskii wrote:
> You can use a floppy disk as a non-FAT32 volume, can't you?
Doh, didn't think of that.
>
> > However, as to detecting whether a drive has fat32, just read the
> > boot sector (w95 allows disk reads, just not writes)
>
> I thought Windows 95 requires to lock the volume before it allows
> direct disk reads, no?
No, writes only (hard learned experience).
>
> Anyway, reading the boot sector is the last choice I would like to
> consider because it will probably mean trouble on some non-DOS
> filesystems, like NT, or Linux, or networked drives. I hope there's
> a nicer way of detecting FAT32.
Don't some of the fcb functions fail with fat32? Try opening an
accessible file using an fcb and if it fails, you have fat32.
Bill
--
Leave others their otherness.
- Raw text -