Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Dec 2008 12:02:44 -0500
From:      "Josh Carroll" <josh.carroll@gmail.com>
To:        "Gonzalo Nemmi" <gnemmi@gmail.com>
Cc:        freebsd-fs@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: ext2 inode size patch - RE: PR kern/124621
Message-ID:  <8cb6106e0812040902g69ec2f84t814c2f2b5cdb33f6@mail.gmail.com>
In-Reply-To: <200812041747.09040.gnemmi@gmail.com>
References:  <8cb6106e0811241129o642dcf28re4ae177c8ccbaa25@mail.gmail.com> <20081125150342.GL2042@deviant.kiev.zoral.com.ua> <8cb6106e0812031453j6dc2f2f4i374145823c084eaa@mail.gmail.com> <200812041747.09040.gnemmi@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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:

http://pflog.net/~floyd/ext2fs.diff

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".

Thanks,
Josh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8cb6106e0812040902g69ec2f84t814c2f2b5cdb33f6>