[3835] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Cluster size?

daemon@ATHENA.MIT.EDU (Kirill Shtengel)
Mon Nov 11 05:05:38 1996

From: "Kirill Shtengel" <kirill@ucla.edu>
To: redhat-list@redhat.com
Date: Mon, 11 Nov 1996 02:03:03 +0000
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


> From:          Borg <{vladimip@iceonline.com}>
> Kirill Shtengel wrote:
> 
> ..............less than 512 MB (You certainly don't want
> > to have a single  900M DOS partition - it's a waste of space due to
> > the large cluster size).  I also put the Linux root
> > partition within the first 512 MB of the hard drive..........
> 
> Can you tell us what exactly the size of a DOS
> cluster and that of Linux cluster? I know I can
> customize inode size when fsck'ing but how do I
> specify a custom cluster size? I (foolishly)
> assumed cluster size depended on drive architecture
> rather than on operating systems.
> 
> 
I'm not sure what is the OS-dependence of the cluster size, but this 
is how it depends on the partition (NOT the HD!) size under DOS/Win95:


                          Partition size   Sector/cluster   Cluster size
                            0 - 15MB                 2             1K

                           16 - 127MB              4              2K
                                                               
                           128 - 255MB             8             4K

                           256 - 511MB            16             8K
                                                  
                           512 - 1023MB          32             16K
                                                 
                         1024 - 2145MB          64             32K
     
(Taken from the Western Digital FAQ: 
http://www.wdc.com/support/FAQ/general.html ).

In other words this means that if all 900MB left for DOS are 
used as a single 900MB partition, then any 100 Byte *.bat, *.ini 
etc. file will take 16K of the actual disk space - lovely, isn't it?

I don't know if something similar is true for the Linux partitions, 
but I suspect so. Does anyone know the answer?
Cheers,

Kirill
                                            


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post