All of lore.kernel.org
 help / color / mirror / Atom feed
* Ext2 detailed documentation
@ 2003-07-04 23:24 James Buchanan
  2003-07-05  0:31 ` Livio Baldini Soares
  0 siblings, 1 reply; 5+ messages in thread
From: James Buchanan @ 2003-07-04 23:24 UTC (permalink / raw)
  To: linux-fsdevel

Aside from reading the source code (and fully understanding it, which
I am not sure I am capable of yet), is there any detailed
documentation on how the Ext2 fs works?  Specifically, I'd like to
know some fairly high-level details so I know what to look for when
I'm studying the sources.

Here's what I'm looking for:  where's the code that gets blocks of
data off the disk and sends it up through the kernel via the Ext2 fs
code?  And vice versa.  I see a lot of code dealing with pages, does
this mean the ext2 code sends the blocks into kernel pages where the
kernel retrieves it and makes it available to system calls?

I am hoping that a detailed primer on how the ext2 works will give me
some better background for studying the source code and understanding
what's happening.  I'd like to get to a stage where I can modify the
ext2fs code comfortably.

I've read the design and implementation docs on the e2fsprogs sf site,
and the kernel source doc on ext2 which lists that as a reference.
There is a reference to a site which has some code to compress data on
ext2 filesystems, and that would be really ideal (see below) but
apparently it's no longer maintained or supported.

What I want to do as a research project is implement compression.
Essentially the code has to compress and decompress on the fly.  I
would imagine compression would be limited to each block individually,
otherwise data on other blocks would be needed to decompress a single
block.  So I need to hook into the part of ext2 where the data flies
through on its journey back and forth from the kernel to the physical
disk.  I'd also like to implement secure deletion by wiping blocks
when they're freed so recovery is impossible, and other experiments.

PS.  How do fs developers debug their code?  Do they use syslog, or
can they somehow run the fs code in debugger like gdb?

Many thanks :)
James



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-07-06 19:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-04 23:24 Ext2 detailed documentation James Buchanan
2003-07-05  0:31 ` Livio Baldini Soares
2003-07-05  5:54   ` Mohammad Nayyer Zubair
2003-07-06 18:42     ` Randy.Dunlap
2003-07-06 19:42       ` Herbert Poetzl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.