FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 07-14-2012, 04:43 AM
Michael Mol
 
Default Formatting as vfat with specific allocation size

On Sat, Jul 14, 2012 at 12:21 AM, Nilesh Govindrajan
<contact@nileshgr.com> 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
 
Old 07-14-2012, 05:55 AM
Nilesh Govindrajan
 
Default Formatting as vfat with specific allocation size

On 07/14/2012 10:13 AM, Michael Mol wrote:

On Sat, Jul 14, 2012 at 12:21 AM, Nilesh Govindrajan
<contact@nileshgr.com> 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
 

Thread Tools




All times are GMT. The time now is 05:18 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org