File:  [NetBSD Developer Wiki] / wikisrc / projects / project / ext3fs.mdwn
Revision 1.2: download - view: text, annotated - select for diffs
Thu Feb 27 05:10:58 2014 UTC (5 years, 9 months ago) by dholland
Branches: MAIN
CVS tags: HEAD
Rework text. The new text isn't really any different from the old text,
it's just a bit more specific and I hope clearer.

[[!template id=project

title="Implement ext3 file system support"


duration="1-2 months"

The ext2 file system is the lowest common denominator Unix-like file system in the Linux world, as ffs is in the BSD world. NetBSD has had kernel support for ext2 for quite some time.

However, the Linux world has moved on, with ext3 and now to some extent also ext4 superseding ext2 as the baseline. NetBSD has no support for ext3; the goal of this project is to implement that support.

Since ext3 is a backward-compatible extension that adds journaling to ext2, NetBSD can mount clean ext3 volumes as ext2 volumes. However, NetBSD cannot mount ext3 volumes with journaling and it cannot handle recovery for crashed volumes.
As ext2 by itself provides no crash recovery guarantees whatsoever, this journaling support is highly desirable.

The ext3 support should be implemented by extending the existing ext2 support (which is in src/sys/ufs/ext2fs), not by rewriting the whole thing over from scratch. It is possible that some of the ostensibly filesystem-independent code that was added along with the ffs WAPBL journaling extensions might be also useable as part of an ext3 implementation; but it also might not be.

The full requirements for this project include complete support for ext3 in both the kernel and the userland tools. It is possible that a reduced version of this project with a clearly defined subset of these requirements could still be a viable GSOC project; if this appeals to you please coordinate with a prospective mentor.

CVSweb for NetBSD wikisrc <> software: FreeBSD-CVSweb