4

How can I mount an XFS-partition on OS X 10.7 using OSXFUSE?

In their filesystem repository under filesystems-c/unixfs I have found minixfs. However, I'm not sure how to go about installing it and using it to mount the partition, hence I would be grateful if someone could write a short guide/tutorial. I wasn't able to find any instructions on the topic elsewhere.

3 Answers3

3

As Daniel Beck pointed out, there is Fuse-XFS, which let's you mount XFS under OS X in read-only mode.

From author's website:

Fuse-xfs is a MacFuse (OSXFUSE) driver for XFS filesystems. This driver allows Mac OS 10.7 with OSXFUSE/MacFuse to mount XFS filesystems in read only mode.

The journal is ignored, but basic read only operations should work fine.

This software should be considered alpha, and provides no guarantees that the XFS filesystem remains unaltered (although the code does not support writing in any way). Use of the software is entirely at the users own risk.

2
  1. Install FUSE for OSX
  2. Connect the HD partitioned with XFS
  3. Run Disk Utility, you should be able to see the mounted device (e.g: disk3)
  4. ls /dev/disk3*, you should be able to see the partition (e.g: disk3s1)
  5. create the mount point (e.g: /mnt/my_xfs_hd)
  6. sudo fuse-xfs /dev/disk3s1 -- /mnt/my_xfs_hd -o default_permissions,allow_other
  7. cd /mnt/my_xfs_hd, you should now have read-only access to all the data stored in the XFS partition
1

minixfs is a file system for the minix operating system (MINIX-FS), rather than a small implentation for XFS (mini-xfs) :-)

So, look out for FUSE-XFS.

Frank
  • 111