Gentoo Archives: gentoo-user

From: Nilesh Govindrajan <contact@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Formatting as vfat with specific allocation size
Date: Sat, 14 Jul 2012 05:56:56
Message-Id: 500109BC.3040400@nileshgr.com
In Reply to: Re: [gentoo-user] Formatting as vfat with specific allocation size by Michael Mol
1 On 07/14/2012 10:13 AM, Michael Mol wrote:
2 > On Sat, Jul 14, 2012 at 12:21 AM, Nilesh Govindrajan
3 > <contact@××××××××.com> wrote:
4 >> mkfs.vfat doesn't seem to accept a allocation unit size, any other way to do
5 >> it (dosemu?)?
6 >>
7 >> My car stereo accepts only FAT32 with 4096 as allocation size.
8 >
9 > Which ebuild is your mkfs.vfat from? The manpage for mkfs.vfat from
10 > sys-fs/dosfstools suggests that you want "-s 3 -S 512". That gets you
11 > 2^3 sectors per cluster and 512-byte sectors.
12 >
13 >
14
15 Thanks, that worked. Though -s 8 and -S 512, because 512 * 8 = 4096.
16
17 --
18 Nilesh Govindrajan
19 http://nileshgr.com