delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/16/22:10:20

From: "Robert W. Hazard" <Robert_W_Hazard AT res DOT raytheon DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Default File Size Blocks in Win95
Date: Wed, 16 Jun 1999 12:27:45 -0400
Organization: Raytheon Company
Lines: 22
Message-ID: <3767D081.1FACAA78@res.raytheon.com>
References: <3768C593 DOT 1F320E9C AT accord-soft DOT com>
NNTP-Posting-Host: neotwk1.msd.ray.com
Mime-Version: 1.0
X-Trace: swlmail.msd.ray.com 929550466 25088 138.127.111.24 (16 Jun 1999 16:27:46 GMT)
X-Complaints-To: usenet AT swl DOT msd DOT ray DOT com
NNTP-Posting-Date: 16 Jun 1999 16:27:46 GMT
X-Mailer: Mozilla 4.6 [en] (WinNT; U)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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.

Sunil V wrote:

> Hi everybody,
>
> 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.
>
> Thanx in advance,
> Regards Sunil
>
> --

- Raw text -


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