Log in

View Full Version : Ext4 filesystem support for MacOSX


erick2red
04-20-2009, 09:43 PM
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.....

cadensol
04-21-2009, 11:38 AM
macfuse? :-/

erick2red
04-21-2009, 01:23 PM
macfuse? :-/
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?

andyvand
04-28-2009, 12:07 AM
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?
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:
http://developer.apple.com/opensource
They should provide a good insight of how Apple builds their FS drivers

uman
05-30-2009, 02:08 PM
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 http://sourceforge.net/projects/ext2fuse project (but you'd have to make the code 64-bit, to add in all the changes in ext4).

erick2red
05-30-2009, 04:39 PM
I already start to learn IOKit, and tried to study the code of the ExtFSManager (http://sourceforge.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 :)

uman
06-02-2009, 01:26 PM
I'd be wary of ext4, at least until some of the fixes stabilize:

http://ask.slashdot.org/story/09/05/30/161233/Is-ext4-Stable-For-Production-Systems

erick2red
06-06-2009, 08:22 PM
I'd be wary of ext4, at least until some of the fixes stabilize:

http://ask.slashdot.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.