Re: ext2 large block size support - the shocking truth...

From: Ted Ts'o
Date: Wed Mar 21 2012 - 17:21:57 EST


On Wed, Mar 21, 2012 at 09:38:33PM +0100, Risanecek wrote:
>
> EXT2-fs (sdd2): error: bad blocksize 32768
>
> Seems many DVRs use that kind of "enhanced ext2"...

It's not an enhanced ext2 as much as it is enhancements primarily in
the mm layer to allow file systems to use a "larger page" which is
larger than the native page size of the CPU's MMU. This is the first
that I've heard of a DVR, or any product in general, actually trying
to use Christoph Lameter's patches in a shipping Linux system.

If you just need to read and write files from this file system from a
userspace CLI shell utility, you could just use the programs from the
e2tools package; they should work just fine. It works much like the
mtools package do to be able to copy, rename, list directories, of an
MSDOS file system, but for ext2/3/4 file systems.

Alternatively, you could try to forward port Christoph's patches to a
modern kernel, or commission someone to port it to a modern for you...

Hope this helps,

- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/