ext2 inode size patch - RE: PR kern/124621

Josh Carroll josh.carroll at gmail.com
Thu Dec 4 09:06:49 PST 2008

> Could you please point me to your patch and an explanation on how to apply it
> and test it?

You can grab the patch here:


To apply it:

cd /usr/src/sys/gnu/fs
patch < /path/to/ext2fs.diff
cd /usr/src/sys/modules/ext2fs
make clean && make
kldload ./ext2fs.ko

Then umount and mount again your ext2 file systems. This should apply
cleanly to RELENG_7_0, RELENG_7_1 and RELENG_7 source. I'm not sure if
it'll apply cleanly to -CURRENT or not (I can provide an updated patch
if you need it).

Note: if you have ext2fs built into your kernel, you'll have to build
and install your kernel as usual after patching, instead of building
the module separately. Also, if you already have ext2fs loaded, you'll
need to kldunload it first of course. If you want to update the
ext2fs.ko in your installed kernel in /boot/kernel, after a make in
.../modules/ext2fs, you can "make install".


More information about the freebsd-fs mailing list