Date: Tue, 14 Oct 1997 21:43:50 +1100 From: Bill Currie Subject: Re: Should off_t become unsigned? In-reply-to: To: Eli Zaretskii , djgpp-workers AT delorie DOT com Message-id: <199710140840.VAA11082@teleng1.tait.co.nz gatekeeper.tait.co.nz> Organization: Tait Electronics Limited MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <199710140416 DOT RAA10413 AT teleng1 DOT tait DOT co DOT nz gatekeeper.tait.co.nz> Comments: Authenticated sender is Precedence: bulk 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.