Mac OS X on x86 Hardware 2008–2024 Technical Archive
InfiniteMac OSx86 › Hardware, Systems & Dev › Ext4 filesystem support for MacOSX
57,747 reads · 2009-04-20 – 2009-06-06

Ext4 filesystem support for MacOSX

i've been searching around if already someone did a kexts in order to add MacOSX support ext4 new filesystems available for linux, and nothing found, i would like to make a try, or at least start the digging for it. Actually i'm using ext4…

Primary Author
@erick2red Published 2009-04-20
Collection
Hardware, Systems & Dev
Archival Footprint
57,747 historical reads · 3 curated field notes (from 8 dispatches) · 2009-04-20 – 2009-06-06
Credited Voices (4)
@erick2red (4)@uman (2)@cadensol@andyvand

i've been searching around if already someone did a kexts in order to add MacOSX support ext4 new filesystems available for linux, and nothing found, i would like to make a try, or at least start the digging for it.
Actually i'm using ext4 on my root linux partition, and ext3 (too lazy, too slow) on my home partition so i can read it from MacOSX, but i would love to move all my linux partition to ext4 which really improve the experience.
so the theme is open, i'm hearing any suggestion before start developing…

Author Updates & Technical Revisions

Follow-up dispatches by @erick2red

Author Update #1 @erick2red 2009-04-21 ↳ Re: @cadensol

i think maybe that could help. I've been reading around, and so far i could decide for develop a new kext that support ext4 filesystem, or some user-space app that manage the filesystem.
My point now is: It matters that i use Voodoo kernel instead of Vanilla one for this " kernel development" purposes?

Author Update #2 @erick2red 2009-05-30

I already start to learn IOKit, and tried to study the code of the ExtFSManager (sourc eforge.net/projects/ext2fsx/) from sourceforge.
Just check that project, ohh men, that simplyfies the work a lot.
I'll check that. I've been a little off to this, because of my real work, but as soon as i can install on my laptop, develop start

Author Update #3 @erick2red 2009-06-06 ↳ Re: @uman
@umanI'd be wary of ext4, at least until some of the fixes stabilize: ask.slas hdot.org/story/09/05/30/161233/Is-ext4-Stable-For-Production-Systems

I'm using it, and util now works like a charm.
Note i'm a gnome user.

Synthesized Community Field Notes

3 technical responses curated from 8 original dispatches

Field Note #1 @andyvand 2009-04-27 ↳ Re: @erick2red
@erick2redi think maybe that could help. I've been reading around, and so far i could decide for develop a new kext that support ext4 filesystem, or some user-space app that manage the filesystem. My point now is: It matters that i use Voodoo kernel instead of Vanilla one for this " kernel development" purposes?

No I don't think it matters which kernel is being used for development of a FS...
They all work identical for FS handling so...
Apple's HFS and FAT drivers are also opensource and available from:
developer.apple.com/opensource
They should provide a good insight of how Apple builds their FS drivers

Field Note #2 @uman 2009-05-30

Wow. You like the bleeding edge. I haven't moved to ext4 yet-- scared away by some of the early 0 byte bugs...

Anyway, I'd second the suggestion of FUSE. I've been using FUSE with ntfs-3g and had very few problems. Plus the abstraction of a filesystem is reasonable to work with, unless you really want to learn IOKit.

You could even start with sourc eforge.net/projects/ext2fuse project (but you'd have to make the code 64-bit, to add in all the changes in ext4).

Field Note #3 @uman 2009-06-02

ext4 not ready for prime time

I'd be wary of ext4, at least until some of the fixes stabilize:

ask.slas hdot.org/story/09/05/30/161233/Is-ext4-Stable-For-Production-Systems

Corroborated & Participated: @cadensol
Sources & Contributor Provenance (4 credited usernames · Thread #2641)
UsernameDossier ContributionDispatchesActive Window
@erick2redPrimary Author42009-04-20 → 2009-06-06
@umanContributor22009-05-30 → 2009-06-02
@cadensolContributor12009-04-21
@andyvandContributor12009-04-27