Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Building

Alex Blewitt edited this page Oct 23, 2009 · 1 revision
  1. From the old building page

How to install ZFS binaries

The tar ball will extract a “build” directory. After you’ve made a backup of:

  * /usr/sbin/zfs
  * /usr/sbin/zpool 
  * /usr/lib/libzfs.dylib
  * /System/Library/Extensions/zfs.kext
  * /System/Library/Filesystems/zfs.fs

you can:

Not sure about cp(1) semantics, so we blow the existing directories away

Also, make sure that all the files are owned by root:wheel after you have copied them over. If not you can do:

Then reboot.

How to compile ZFS source

The tar ball will extract to a top level directory of the same name as the version you have downloaded: eg. ‘zfs-111’. There are two main things you will need in order to build the ZFS source.

You will need to have the latest version of Xcode installed (part of the Developer tools). Open the zfs project in Xcode and select the "Leopard_Release" configuration in the build configuration menu at the top.

Clone this wiki locally