diff options
author | Denys Vlasenko | 2009-10-20 16:21:29 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-10-20 16:21:29 +0200 |
commit | cbeb4528247cca8eb1aa6c5d7e43778ea6de1762 (patch) | |
tree | d24754751af23bf00c864c668cfe481cc1217c42 /util-linux/mkfs_ext2_test.sh | |
parent | 95484c870645ebda34c9202799f3b31111b90e4f (diff) | |
download | busybox-cbeb4528247cca8eb1aa6c5d7e43778ea6de1762.zip busybox-cbeb4528247cca8eb1aa6c5d7e43778ea6de1762.tar.gz |
mkfs_ext2: fix 60k image creation
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/mkfs_ext2_test.sh')
-rwxr-xr-x | util-linux/mkfs_ext2_test.sh | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/util-linux/mkfs_ext2_test.sh b/util-linux/mkfs_ext2_test.sh index 53f15d2..1199852 100755 --- a/util-linux/mkfs_ext2_test.sh +++ b/util-linux/mkfs_ext2_test.sh @@ -38,22 +38,12 @@ test_mke2fs() { } } -# Should start from kilobytes=60, but e2fsck complains on it: -# e2fsck 1.41.4 (27-Jan-2009) -# Pass 1: Checking inodes, blocks, and sizes -# Pass 2: Checking directory structure -# Pass 3: Checking directory connectivity -# Pass 4: Checking reference counts -# Pass 5: Checking group summary information -# Inode bitmap differences: +(9--11) -# Free inodes count wrong for group #0 (5, counted=8). -# Directories count wrong for group #0 (2, counted=1). -# Free inodes count wrong (5, counted=8). -# image_bb: 11/16 files (0.0% non-contiguous), 9/60 blocks -kilobytes=68 +# kilobytes=60 is the minimal allowed size +kilobytes=60 while true; do test_mke2fs #|| exit 1 : $((kilobytes++)) + test $kilobytes = 200 && break done exit |