Date: Sat, 06 Jan 2001 15:24:15 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: ceo AT nbensacomputers DOT com Message-Id: <3099-Sat06Jan2001152415+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: ams AT ludd DOT luth DOT se, djgpp-workers AT delorie DOT com In-reply-to: (ceo AT nbensacomputers DOT com) Subject: Re: Fw: Patch for statfs.c References: <200101061229 DOT NAA18761 AT father DOT ludd DOT luth DOT se> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Norberto Alfredo Bensa" > Date: Sat, 6 Jan 2001 09:52:18 -0000 > > So, what we do now?... I think we can use FAT32 (on systems where such calls > are available) and then check if it is a CDROM. If bsize != 2048, then we > use CDROM calls... Why not the other way around? I'd prefer CD-specific calls to be used unless we have good reasons not to. It might also be okay to use both CD-specific calls and 217303, and if they agree approximately, use some mix of their values to return. Please try to maximize the accuracy of _all_ values in the struct returned by statfs, not only the total size. > I'm guessing that 217303 _always_ sets bsize = 2048 for DVDs and anything > else for CDs... I think this should be tested. Guessing is not a good policy with MS OSes...