Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been asked to format a USB Drive with a larger Allocation Unit Size than the default. I'm using a Mac, Snow Leopard. In Disk Utility, I am unable to see anything to do with Allocation Unit Size. A bit of Googling suggests it might be called Cluster Size, but I can't see anything for that, either. Does anyone know if it's possible to format a drive with FAT and use a larger than default Allocation Unit Size / Cluster Size?

share|improve this question
up vote 4 down vote accepted

You should be able to do this from a command line using the newfs_msdos command. For example:

#> newfs_msdos -F 32 -V somevolumename /dev/youdiskdevice

The command takes many arguments that you may want to explore.. -c cluster-size for example.

I am sure you could google around for newfs_msdos for some usage examples and also man newfs_msdos

Hope this helps!

share|improve this answer
1  
Yep, that does appear to have the answer, thanks. The -c option says "Sectors per cluster. Acceptable values are powers of 2 in the range 1 through 128", and I had been expecting a size in bytes... so if I was to want 32KB (the value that I've been told to use), what value do I choose? 15, since 2^15 is 32,768...? – Kenny Mar 26 '12 at 21:47

For example to format FAT32 with 64kb allocation unit size:

sudo newfs_msdos -F 32 -c 128 -v VOLUMEID /dev/yourdiskdevice

with 32kb allocation unit size should be use 64 cluster size:

sudo newfs_msdos -F 32 -c 64 -v VOLUMEID /dev/yourdiskdevice

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .