delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/17/15:52:53.1

Sender: nate AT cartsys DOT com
Message-ID: <3769510A.21F560C2@cartsys.com>
Date: Thu, 17 Jun 1999 12:48:26 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.10 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Default File Size Blocks in Win95
References: <3768C593 DOT 1F320E9C AT accord-soft DOT com> <3767D081 DOT 1FACAA78 AT res DOT raytheon DOT com>
Reply-To: djgpp AT delorie DOT com

Robert W. Hazard wrote:
> 
> The short answer is:  File size / allocation of disk space is DOS / FAT
> driven which is 16 bit, and blocks are 16k.  Use or convert to a FAT32
> formatted drive (available under certain win97 installations, and win98),
> and I think they are allocated on a 4k per block basis.  Likewise for an NT
> machine and the NTFS formatting.

It's a little more complicated than that, actually; block ("cluster")
size ~= disk size / 65536, rounded up to a power of 2.  For a 2GB disk,
32K and so on upward.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019