Date: Wed, 16 Jun 1999 14:23:02 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Sunil V cc: djgpp Subject: Re: Default File Size Blocks in Win95 In-Reply-To: <3768C593.1F320E9C@accord-soft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 17 Jun 1999, Sunil V wrote: > I have observed that when you create a file in Win 95, even if the file > is of size 1 byte it > takes up 16 K Bytes or 32 K Bytes of secondary memory. File size > allocation is always in terms of multiples of this block size. Is there > a way by which the default block size could be changed to something > lower. Welcome to the wonderful world of FAT filesystems! Yes, space is allocated to files in multiples of a cluster size, which in most modern (i.e. large) disks is between 16K and 64K bytes. The cluster size is determined by the size of the disk partition, so the only way to make it smaller is to partition your disk to several logical drives. For example, instead of on 2GB-large disk, you can partition it into 2 1GB disks and cut the cluster size in half. There's also the FAT32 filesystem, with much smaller cluster size (4KB for most disks in use today, I think) which is hyped by Microsoft as the panacea from all such problems. But I don't recommend reformatting your drive to FAT32, since that will tremendously slow down your system (I've seen 4-fold slowdown in some disk-intensive applications). Of course, if your disk is large enough, you can simply turn a blind eye to the waste ;-)