Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

i'd like to know how can i specify the cluster size when using mkdosfs /dev/sdx -F 32, some where i read that if you want to format it with 32kb cluster size this is the command:

mkdosfs /dev/sdx -s 64 -F 32 -I

but what if i want to format it with 64kb cluster size, how can i do it? can someone explain the proper usage of mkdosfs /dev/sdx -s XX in plain words (no native english speaker)?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

I believe the command is:

sudo mkdosfs /dev/sdXX -s 128 -F 32 

Since you want 64KB clusters, and the -s means sectors per cluster so, you need 128 sectors, because 128*512 byes = 64KB, making a cluster.

If you want the whole disk to contain a single partition, you would use -I option. So, the command becomes,

sudo mkdosfs /dev/sdX -s 128 -F 32 -I

Credit goes to this Ubuntu forum thread

share|improve this answer
    
thanks, this was exactly the info i was looking for, i mean the sectors*bytes thing... –  Hairo Sep 18 '12 at 13:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.