Jump to content

ReiserFS support in OSX?


d11wtq
 Share

9 posts in this topic

Recommended Posts

Hi,

 

I have a multiboot system with Gentoo Linux, Ubuntu Linux, OSx86 (10.4.1 Patched) and Windows XP Pro (Never use it).

 

My Linux partitions use reiserfs. How can I read these from within OSX? I don't mind if they mount read-only but I have a lot of music and stuff I'd like to access on them from within Tiger :)

 

I figured since OSX runs on a Darwin Backend ResierFS support would be fialry standard since it's one of the most common modern filesystems with journaling on *nix.

 

Any clues?

 

;)

Link to comment
Share on other sites

I don't think it's possible. Try searching for an open-source Mac driver for ReiserFS and I'll see what I can do. :happymac:

 

You could also try moving the data to the HFS+ partition inside Linux with something like this:

 

http://sourceforge.net/projects/linux-hfsplus

 

This allows you to mount HFS+ partitions in Linux as read/write.

 

You could also convert ReiserFS to Ext2 and then use something like this in OSX:

 

http://sourceforge.net/project/showfiles.php?group_id=64713 (Get 1.4d1)

 

This allows you to mount Ext2 partitions as read/write in OSX,

 

Sorry I can't help you come up with a more practical solution.

 

Also, Darwin uses HFS+ and (I think) nothing else.

Link to comment
Share on other sites

Thanks :)

 

Hmm.. that's a shame because most (read, all) of my media type stuff is on reiser :happymac: I wonder I can compile something myself for this? Excuse my n00biness here I've only touched OSX as of today so I'm probably jumping into Linux territory here, but can I probe modules under Darwin? i.e. modprobe reiserfs.

 

Just wondering if I could fetch the reiserfs module source and somehow patch it to run on the darwin kernel.

 

I know for Linux you can run something called "FUSE" too which allows you to mount unsupported filesystems using plugins. Perhaps I could compile this to run in Darwin?

 

I'll do some fiddling around.

 

Oh yeah... off-topic but I need to resize my 6.0GB HFS+ system to fill the 14GB partition it resides in. I'd assumed this would be trivial when I allocated 14GB for it but haven't found a solution without using another disk yet... would you be able to help with this? :)

 

Many thanks,

 

d11

Link to comment
Share on other sites

Read the last paragraph:

http://developer.apple.com/documentation/D..._section_1.html

By using the Mac OS X Virtual File System (VFS) capability and writing kernel extensions, you can add support for other file systems. Examples of file systems that are not currently supported in Mac OS X but that you may wish to add to the system include the Andrew file system (AFS) and the Reiser file system (ReiserFS). If you want to support a new volume format or networking protocol, you’ll need to write a file-system kernel extension.

Also, try a Linux LiveCD (I use Gentoo RR) to resize your partition. I can't think of any other way other than to increase it to 8 GB by creating an HFS+ partition with the remaining space and using Disk Utility's Restore feature to move the data from the 6 to the 8. Sorry I can't help you out more. :)

Link to comment
Share on other sites

OK thanks ;)

 

I've used all 4 primary partitions so I'm kinda stuck with that. Heh... I'm not one to give up though. Perhaps GNU/Parted will soon include support for *increasing* the size of HFS+ volumes. It currently supports decresing the size.

 

I do actually have a USB HDD with ~30GB of free space... I could shrink the reiserfs system on that, "restore" my current 6GB volume to it, then dd it back across.... I'm not confident it will work but it's worth a shot.

 

If I get reiser working I'll post a [HOW TO] for it :)

Link to comment
Share on other sites

I figured since OSX runs on a Darwin Backend ResierFS support would be fialry standard since it's one of the most common modern filesystems with journaling on *nix.

 

Just FYI, not to repeat this mistake in the future, BSD did NOT support reiserfs until the latest FreeBSD version and even now it's pretty much experimental (read-only), Reiser fs is not even close to "fairly standard", it's not even "common" aka "UFS" and, there is more, Linux is not *NIX. It's just a kernel with some POSIX extensions and a GNU layer on top of it. It has a *NIX "skin" :happymac:

Link to comment
Share on other sites

Just FYI, not to repeat this mistake in the future, BSD did NOT support reiserfs until the latest FreeBSD version and even now it's pretty much experimental (read-only), Reiser fs is not even close to "fairly standard", it's not even "common" aka "UFS" and, there is more, Linux is not *NIX. It's just a kernel with some POSIX extensions and a GNU layer on top of it. It has a *NIX "skin" :)

 

Yes I'm aware of the differences between BSD, Minix, Unix and Linux. It doesn't change the fact that source code written for either of them often needs very little modifications to work on any other. I was hoping that the same might apply to ReiserFS on Mac. Someone even wrote a plugin for TotalCommander in windows to read from reiserfs partitions... the library is fairly small afaik.

 

I'm a developer myself so I would quite enjoy the challenge of attempting a conversion although I'd need to do a bit of research because my OSX experience is, af today, 2 days worth :P

 

:D ... and I have to go to work now for a few hours :(

Link to comment
Share on other sites

  • 4 years later...
Having a snoop around... found the apple developer docs on porting unix source to os x and also got BSD's port of mount_reiserfs so I'll spend a few weeks (month if need be) figuring this out.

 

http://forum.osx86project.org/index.php?showtopic=10297

 

Doesn't Macports have fuse because if so I think there is support for reiser in fuse.

Link to comment
Share on other sites

 Share

×
×
  • Create New...