|
2007-10-11
, 12:55
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#42
|
|
2007-10-11
, 13:02
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#43
|
The only bottleneck I can think of now is the 32MB used for metadata. That's it. Even on empty filesystem you have 32MB used with metadata.
|
2007-10-11
, 13:10
|
|
Posts: 70 |
Thanked: 1 time |
Joined on Sep 2007
|
#44
|
|
2007-10-11
, 19:06
|
Posts: 450 |
Thanked: 16 times |
Joined on Mar 2006
|
#45
|
[i]...
5. At least a 256MB partition is needed on /dev/mmcblk0p2 (partition 2, Internal SD/MMC card)
* See various Wiki entries for details. Step 4 from this page should be sufficient information for you to create a partition - formatting will occur automatically, later on.
[/list]
|
2007-10-11
, 22:38
|
Posts: 3,401 |
Thanked: 1,255 times |
Joined on Nov 2005
@ London, UK
|
#46
|
|
2007-10-11
, 22:58
|
Posts: 3,401 |
Thanked: 1,255 times |
Joined on Nov 2005
@ London, UK
|
#47
|
So, I had to reverse those recommended numbers by giving mmcblk0p1 "15001 ,," and mmcblk0p2 "1,15000,6". I found myself flying by the seat of my pants here (I'm no Linux expert) but to my surprise (and relief) it worked.
|
2007-10-11
, 23:57
|
Posts: 450 |
Thanked: 16 times |
Joined on Mar 2006
|
#48
|
Yes, the above should work - it's a bit wierd though, as your first partition is now physically located on the card after the second partition, but that shouldn't be a problem. The only minor issue is that you've specified that partition #1 is a Linux partition (it should be FAT), and partition #2 is a FAT16 (,6) partition (it should be Linux). Again this shouldn't be a problem as I'm guessing the format routines will put the correct filesystem on to the partitions - when you run nupgrade.sh 0 it will put ext2 on the second partition irrespective of what sfdisk thinks the partition type is.
I imagine that sfdisk still states that parititon #1 is Linux and partition #2 is FAT16 even though they've been formatted with the FAT and Linux (ext2) respectively.
|
2007-10-12
, 10:31
|
Posts: 3,401 |
Thanked: 1,255 times |
Joined on Nov 2005
@ London, UK
|
#49
|
#sfdisk /dev/mmcblk0 -uM /dev/mmcblk0p1: 0,300,06 /dev/mmcblk0p2: ,,, /dev/mmcblk0p3: /dev/mmcblk0p4:
#sfdisk /dev/mmcblk0 -uM /dev/mmcblk0p1: 0,1300,06 /dev/mmcblk0p2: ,,, /dev/mmcblk0p3: /dev/mmcblk0p4:
#sfdisk /dev/mmcblk0 -uM /dev/mmcblk0p1: 0,3300,0C /dev/mmcblk0p2: ,,, /dev/mmcblk0p3: /dev/mmcblk0p4:
#sfdisk /dev/mmcblk0 -uM /dev/mmcblk0p1: 0,7300,0C /dev/mmcblk0p2: ,,, /dev/mmcblk0p3: /dev/mmcblk0p4:
The Following 9 Users Say Thank You to Milhouse For This Useful Post: | ||
|
2007-10-12
, 14:37
|
Posts: 450 |
Thanked: 16 times |
Joined on Mar 2006
|
#50
|
The Following User Says Thank You to ascherjim For This Useful Post: | ||
Google on the topic and you will see it for yourself. Also Ext2 isn't very optimized for lots of small files. Neither in speed, nor size.
ReiserFS should be far better choice. It has a big edge over ext in terms of small files handling (the devs behind reiser stress quiet often on that). It is much more self repairing (I got lots of errors when running e2fsck on the SD card from time to time). It handles wearing off much better.
The only bottleneck I can think of now is the 32MB used for metadata. That's it. Even on empty filesystem you have 32MB used with metadata. On the other hand with 2GB cards costing $20 32MB is not that much.
Only two changes are required.
- Change bootmenu.conf to use reiserfs as parameter for partition type
- Provide ReiserFS support in kernel (either module or built-in)
I tried it, partitioned with reiserfs, modified bootmenu, cloned / and compiled kernel with reiserfs built-in. Boot time seemed a little bit faster compared to ext2 and also it seemed to use about 5-10% less space.
I have just to work out one problem, causing the tablet to hang for a while after loading the blue bar and to restart, which happened on a few occasions and then provide alternative instructions.