Compiling the Kernel with ext3 Support
In 2.4 kernels, ext3 features are found under the Filesystems section of the kernel configuration.
Filesystems ---> [...] <*> Ext3 journalling file system support (EXPERIMENTAL) [ ] JBD (ext3) debugging support
The first option (CONFIG_EXT3_FS) turns on
support for ext3 filesystems. It can be compiled statically (as shown
above) or as a module.
Warning
For 2.2 kernels, ext3 support is listed as Second extended fs development code, and not as ext3.
You can also enable debugging support
(CONFIG_JBD_DEBUG) if you are trying to track a
problem. When debugging support is activated, you need to set a debug
level before any information is reported. Set the debug level by
echoing a number between 1 and 5 to the file
/proc/sys/fs/jdb-debug.
# echo 5 > /proc/sys/fs/jdb-debugThe number indicates the verbosity level. A higher number means more verbosity. During normal use, you can leave debugging disabled by never setting the verbosity level. This way, you can keep its support compiled into the kernel without risking the performance degradation normally associated with such logging.
After the new kernel is compiled, installed, and running, you should see ext3 listed in /proc/filesystems. If you compiled ext3 as a module, it won’t appear in /proc/filesystems until it is inserted.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access