how to calculate correctly the cluster size

Tim Golden tim.golden at viacom-outdoor.co.uk
Wed Apr 21 04:11:47 EDT 2004


Josiah> The Windows 2k "Disk Administrator" software for 
Josiah> 2K always uses 4k cluster sizes by default.  
Josiah> I believe your varied cluster sizes are the 
Josiah> result of using Partition Magic to create them.

FWIW, the FORMAT command does offer the possibility of selecting
different cluster sizes. I've never used it personally (and I'm
not about to try it on this machine, either!)

<screen dump>

FORMAT volume [/FS:file-system] [/V:label] [/Q] [/A:size] [/C] [/X]
[...]

/A:size         

Overrides the default allocation unit size. Default settings
are strongly recommended for general use.
NTFS supports 512, 1024, 2048, 4096, 8192, 16K, 32K, 64K.
FAT supports 512, 1024, 2048, 4096, 8192, 16K, 32K, 64K,
(128K, 256K for sector size > 512 bytes).
FAT32 supports 512, 1024, 2048, 4096, 8192, 16K, 32K, 64K,
(128K, 256K for sector size > 512 bytes).

Note that the FAT and FAT32 files systems impose the
following restrictions on the number of clusters on a volume:

FAT: Number of clusters <= 65526
FAT32: 65526 < Number of clusters < 268435446

Format will immediately stop processing if it decides that
the above requirements cannot be met using the specified
cluster size.

NTFS compression is not supported for allocation unit sizes
above 4096.

</screen dump>


TJG


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________




More information about the Python-list mailing list