contact at nileshgr
Jul 13, 2012, 10:55 PM
Post #3 of 3
On 07/14/2012 10:13 AM, Michael Mol wrote:
Re: Formatting as vfat with specific allocation size
[In reply to]
> On Sat, Jul 14, 2012 at 12:21 AM, Nilesh Govindrajan
> <contact [at] nileshgr> wrote:
>> mkfs.vfat doesn't seem to accept a allocation unit size, any other way to do
>> it (dosemu?)?
>> My car stereo accepts only FAT32 with 4096 as allocation size.
> Which ebuild is your mkfs.vfat from? The manpage for mkfs.vfat from
> sys-fs/dosfstools suggests that you want "-s 3 -S 512". That gets you
> 2^3 sectors per cluster and 512-byte sectors.
Thanks, that worked. Though -s 8 and -S 512, because 512 * 8 = 4096.