Mail Archives: djgpp/1995/10/10/00:58:14
Date: | Mon, 09 Oct 95 22:54:17 -0400
|
From: | Wonkoo Kim <wkim+@pitt.edu>
|
To: | djgpp users <djgpp AT sun DOT soe DOT clarkson DOT edu>
|
Reply-To: | Wonkoo Kim <wkim+@pitt.edu>
|
Subject: | Re: Lots of small files in DJGPP waste space & should be chained up!
|
>Partitions size (M bytes) cluster size (K bytes).
> 0-127 2 <<missed this one!
>
I didn't follow this thread (I didn't feel a need), but this info is
incorrect if DOS was not changed.
DOS FORMAT command's default cluster sizes are:
FAT partition Cluster Size
------------- ------------
0 - 15MB 4KB
16 - 127MB 2KB
128 - 255MB 4KB
256 - 511MB 8KB
512 - 1023MB 16KB
1024 - 2047MB 32KB
... ...
------------- ------------
12-bit FAT is used for a partition of less than 16MB, but
16-bit FAT is used for any bigger parition (>= 16MB).
BTW, I don't support the original poster's request (in the subject).
FAT file system should be replaced rather than the way of djgpp's
file packaging. (16-bit FAT is too small.)
Though the best partition size depends on the number of files and
the total file size, I think 255MB partition size would be the
best for most users for an FAT system if a big disk needs to be
partitioned into smaller pieces. (Since we need to keep some free
work space (maybe at least a few MB) in each partition, having two
127MB partitions cannot save much comparing with one 255MB partition.)
(I'm happy with OS/2's HPFS (0.5KB/cluster for any partition size).)
//--------------------------------------------------------------------
// Wonkoo Kim
// wkim+@pitt.edu
- Raw text -