Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: User

Formatting as vfat with specific allocation size

 

 

Gentoo user RSS feed   Index | Next | Previous | View Threaded


contact at nileshgr

Jul 13, 2012, 9:21 PM

Post #1 of 3 (211 views)
Permalink
Formatting as vfat with specific allocation size

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.

--
Nilesh Govindrajan
http://nileshgr.com


mikemol at gmail

Jul 13, 2012, 9:43 PM

Post #2 of 3 (207 views)
Permalink
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.


--
:wq


contact at nileshgr

Jul 13, 2012, 10:55 PM

Post #3 of 3 (204 views)
Permalink
Re: Formatting as vfat with specific allocation size [In reply to]

On 07/14/2012 10:13 AM, Michael Mol wrote:
> 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.

--
Nilesh Govindrajan
http://nileshgr.com

Gentoo user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.