On recent kernels starting around 2.6.20 (at least as built with the
configuration used by Fedora) ext2 and ext3 filesystems are now split
into 2 separate kernel modules. These used to both be handled by the
ext3 module. Because of this the sysfs01 test of LTP often fails
because it is making a reference to "ext2". Since the ext2 filesystem
likely isn't loaded at this time the test fails.
If you do a "modprobe ext2" prior to running the tests (or if your
system actually does have an ext2 filesystem mounted of course) sysfs01
passes as it did before. It just seems it would be good to make this
more reliable to avoid false failures.
The test just needs to have a reference to any filesystem name that we
know is loaded. My suggestion would be to use "proc" since that
_should_ always be compiled in to all kernels. I just wanted to raise
the subject first in case something like uClinux doesn't typically
compile proc filesystem support in (and I know the uClinux guys are
somewhat active in LTP).
Get latest updates about Open Source Projects, Conferences and News.