
[2009/02]
Recently, the inode size of Linux ext2/ext3 filesystems was increased to 256 which broke the FreeBSD ext2fs driver which was hardwired for 128.
This unofficial patch was not written by me. I have tested it. Use at your own risk.
[QUOTE] You can grab the patch here: http://pflog.net/~floyd/ext2fs.diff [backup] 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". [/QUOTE]