Good ext2 reference

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
stonedzealot

Good ext2 reference

Post by stonedzealot »

I posted on this a few months ago, but that was for a bootloader. Now, I'm nearing the point where I want to start fiddling with implementing a filesystem. ext2 seems to be a good choice, it's well documented and has nice features but I still can't wrap my head around how files are *actually* referenced within a directory. Theoretically, I know, but evidently I'm missing something.

So, anyone have any good ext2 docs aside from those on OSRC (which are the ones that have put me in the current half-knowing state)?
stonedzealot

Re:Good ext2 reference

Post by stonedzealot »

Thanks, and I don't want to sound ungrateful, but that's an OSRC linked doc and the e2fsprogs are nice but the source is incredibly confusing (I tried to understand ext2ed with no luck).
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Good ext2 reference

Post by Pype.Clicker »

i was about to suggest you to look up GRUB's fsys_ext2fs, hoping that it would be simpler to understand than Lx kernel's component, but it appears to be as much confusing at best ...
drizzt

Re:Good ext2 reference

Post by drizzt »

This is not a good reference, but minirighi implements ext2 fs in read-only mode... unfortunately it is written/commented in italian for now... if you don't find nothing better you can read it into the CVS repository http://cvs.sourceforge.net/viewcvs.py/minirighi/minirighi/fs/ext2/ or download the source code from the sf site http://sourceforge.net/projects/minirighi
stonedzealot

Re:Good ext2 reference

Post by stonedzealot »

Wow that should be good, maybe I'll pick up some Italian on the side =) . Anyway, despite the Italian commenting it will probably be much more straight forward than Linux or e2fsprogs's ext2ed. Thanks alot, I'll check it out when I get home.
Post Reply