PDA

View Full Version : Yet another format thread...


YoDude
2007-03-17, 20:20
Forgive me if this was covered before... I have been searching here and on the net now for a few days now and can not find a WinXP utility to do the job.

Can the default 32kB cluster size be changed if I format using the N800 via a command line in xterm? For some reason I can not change the default size using WinXP to format the card.

Maemo Maps chews up a lot of disk space using the Windows default 4 kb with a 2 gb card...
I would like to kick this down to 512 bytes

lbattraw
2007-03-18, 01:45
Are you looking for the sector size perhaps?
-S logical-sector-size
Specify the number of bytes per logical sector. Must be a power
of 2 and greater than or equal to 512, i.e. 512, 1024, 2048,
4096, 8192, 16384, or 32768

Larry

YoDude
2007-03-18, 01:53
Are you looking for the sector size perhaps?
-S logical-sector-size
Specify the number of bytes per logical sector. Must be a power
of 2 and greater than or equal to 512, i.e. 512, 1024, 2048,
4096, 8192, 16384, or 32768

Larry

Yes... What would be the command line @ root?

lbattraw
2007-03-18, 02:17
Yes... What would be the command line @ root?

Depends on whether you're formatting the internal slot or external slot and whether you have more than one partition. Assuming the card is in the internal slot, using FAT for the first/only partition:
mkfs.vfat -S 512 /dev/mmcblk0p1

Larry

YoDude
2007-03-18, 03:19
Thanks Larry... That is exactly what I have done.