Re: some ext2-understanding problems (page cache etc.)

From: Theodore Ts'o
Date: Fri Apr 30 2004 - 15:33:06 EST


On Fri, Apr 30, 2004 at 03:21:19AM +0200, Christof wrote:
> Hello,
>
> I'm not a kernel guru, but my task is to extract some ext2-code from the
> kernel into user space for a scientific project/experiment. I've
> "ported" a lot of code by now but now I am stuck.
> I wanted to bypass the page cache and disk buffer and have all writes
> and reads directly in memory. I don't want to get into details, but
> imagine I have an image of an ext2-filesystem in memory and want to
> access it in user space but with the same interface as it would be in
> the kernel.

You're probably better off using the the libext2fs library that is
part of e2fsprogs, since it is already userspace code.

- 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/