Jump to content

ReiserFS support in OSX?


  • Please log in to reply
8 replies to this topic

#1
d11wtq

d11wtq

    InsanelyMac Protégé

  • Members
  • Pip
  • 35 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?

;)

#2
Eggman

Eggman

    I've got the master plan!

  • Members
  • PipPipPipPipPip
  • 251 posts
  • Location:Georgia, USA
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.n...s/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.n...?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.

#3
d11wtq

d11wtq

    InsanelyMac Protégé

  • Members
  • Pip
  • 35 posts
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

#4
Eggman

Eggman

    I've got the master plan!

  • Members
  • PipPipPipPipPip
  • 251 posts
  • Location:Georgia, USA
Read the last paragraph:
http://developer.app..._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. :)

#5
d11wtq

d11wtq

    InsanelyMac Protégé

  • Members
  • Pip
  • 35 posts
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 :)

#6
sigxcpu

sigxcpu

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 490 posts

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:

#7
d11wtq

d11wtq

    InsanelyMac Protégé

  • Members
  • Pip
  • 35 posts

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 :(

#8
d11wtq

d11wtq

    InsanelyMac Protégé

  • Members
  • Pip
  • 35 posts
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.osx86pr...showtopic=10297

#9
Matthew Veety

Matthew Veety

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
  • Gender:Male
  • Location:Scranton, PA

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.osx86pr...showtopic=10297


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





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy