On Tuesday 20 October 2009 18:50, Vladimir Dronnikov wrote:
> >>
> >> Can you confirm my mkfs_ext2_test.sh results?
> >>
> 
> Well. With the patch, and standard mke2fs forced to not reserve group
> descriptors, not a single deviation!

Apart from last block group trimming issue, something is wrong
when size is bigger than 500000k.

This loop runs for long with no errors:

while true; do
    kilobytes=$(( (RANDOM*RANDOM) % 500000 + 60))
    test_mke2fs || exit 1
done


while this one finds bad size rather quickly:

while true; do
    kilobytes=$(( (RANDOM*RANDOM) % 500000 + 60))
    test_mke2fs || exit 1
done

The diff says inode count is wrong:

# ./mkfs_ext2_test.sh
Testing 583249
Testing 172
Testing 240769
Testing 465535
Testing 291723
Testing 29159
Testing 483732
Testing 541209
--- image_bb.out        Tue Oct 20 23:32:39 2009
+++ image_std.out       Tue Oct 20 23:32:39 2009
@@ -2,11 +2,11 @@
 OS type: Linux
 Block size=4096 (log=2)
 Fragment size=4096 (log=2)
-33920 inodes, 135302 blocks
+33840 inodes, 135302 blocks
 6765 blocks reserved for the super user
 First data block=0
 5 block groups
 32768 blocks per group, 32768 fragments per group
-6784 inodes per group
+6768 inodes per group
 Superblock backups stored on blocks:
        32768, 98304


--
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to