View Single Post
Posts: 53 | Thanked: 3 times | Joined on Jul 2007
#3
I did it, I did it .......


Here it is how I did it.


Switch off swap if you have it on.
#umount /media/mmc1

# sfdisk -d /dev/mmcblk0 > mmcblk0

Now open mmcblk0 file and edit
change id= 6 to id= b in the first line.
(Be careful in command below, - f is for force, and may result in loss of data in all the partitions). By the I didn't loose anything except for my MMC1 files. My other partions, even dual boot are intact :-)
# sfdisk -f /dev/mmcblk0 < mmcblk0


Zero out the first 512 bytes of data.
# dd if=/dev/zero of=/dev/mmcblk0p1 bs=512 count=1
#shutdowun -r now

#mkdosfs -s 2 -F 32 /dev/mmcblk0p1 (clustersize of 1 KB)
#mount /dev/mmcbkl0p1 /media/mmc1
#shutdown -r now

Have fun. Now I have cluster size of 1 KB. Yaya. My small files should not take lof of memory. The IO throughput will suffer. Let me see how much it suffers.