diff options
author | Theodore Ts'o <tytso@mit.edu> | 1997-08-14 17:20:42 +0000 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 1997-08-14 17:20:42 +0000 |
commit | 1c27cac2e848300a515cc994bc71ee48e2f3fa19 (patch) | |
tree | 7e350a7899da8f635a93309060182d5aa669446c /tests/f_badinode | |
parent | 7cf73dcd3d173d88ceab26d381f4abac362d8518 (diff) | |
download | e2fsprogs-1c27cac2e848300a515cc994bc71ee48e2f3fa19.tar.gz |
ChangeLog, .del-io.h~72680822, irel_ma.c, llseek.c, rw_bitmaps.c:
io.h: Change the prototype of ext2fs_llseek() to use int's instead of
unsigned int's.
llseek.c: Change to allow PIC and !HAVE_LLSEEK. Add a prototype to
make life easer for GNU Libc 2.
rw_bitmaps.c: On the PowerPC, the big-endian variant of the ext2
filesystem has its bitmaps stored as 32-bit words with bit 0 as the
LSB of each word. Thus a bitmap with only bit 0 set would be, as a
string of bytes, 00 00 00 01 00 ... To cope with this, we
byte-reverse each word of a bitmap if we have a big-endian filesystem,
that is, if we are *not* byte-swapping other word-sized numbers.
ChangeLog, expect.1, image.gz:
f_badinode: Modify test to check for "bad" character and block devices
(i.e., ones which contain garbage block entries)
Diffstat (limited to 'tests/f_badinode')
-rw-r--r-- | tests/f_badinode/expect.1 | 10 | ||||
-rw-r--r-- | tests/f_badinode/image.gz | bin | 1037 -> 1109 bytes |
2 files changed, 8 insertions, 2 deletions
diff --git a/tests/f_badinode/expect.1 b/tests/f_badinode/expect.1 index b2da205f..67120d09 100644 --- a/tests/f_badinode/expect.1 +++ b/tests/f_badinode/expect.1 @@ -11,6 +11,12 @@ Clear? yes i_file_acl for inode 13 (/timings) is 39, should be zero. Clear? yes +Inode 14 (/block_dev) is an illegal block device. +Clear? yes + +Inode 15 (/char_dev) is an illegal character device. +Clear? yes + Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information @@ -19,8 +25,8 @@ Fix summary information? yes Block bitmap differences: -25. FIXED Free blocks count wrong for group 0 (76, counted=77). FIXED Free blocks count wrong (76, counted=77). FIXED -Free inodes count wrong for group #0 (19, counted=20). FIXED -Free inodes count wrong (19, counted=20). FIXED +Free inodes count wrong for group #0 (17, counted=20). FIXED +Free inodes count wrong (17, counted=20). FIXED test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** test_filesys: 12/32 files (0.0% non-contiguous), 23/100 blocks diff --git a/tests/f_badinode/image.gz b/tests/f_badinode/image.gz Binary files differindex 7b3ccd2a..e399c4b1 100644 --- a/tests/f_badinode/image.gz +++ b/tests/f_badinode/image.gz |