Zfs & MacPorts

Eric Cronin ecronin at macports.org
Mon Sep 29 10:43:37 PDT 2008

On Sep 28, 2008, at 10:25 PM, Charles Darwin wrote:

> On 28-Sep-08, at 4:17 PM, Ryan Schmidt wrote:
>> On Sep 28, 2008, at 07:33, Rainer Müller wrote:
>>> Charles Darwin wrote:
>>>> Is it possible to install ports on a zfs formatted volume?
>>> Can't think of a reason why it should not be possible.
>>>> and if so,
>>>> what is the proper way of doing it? Would ´PATH=/bin:/sbin:/usr/
>>>> bin:/
>>>> usr/sbin ./configure --enable-readline --prefix=path/to/zfs/some/
>>>> dir/
>>>> opt´ do it?
>>> If this is the only install of MacPorts on this Mac this will work.
>>> It
>>> will install the MacPorts Tcl package to /Library/Tcl.
>>> But you can also specify another location in order to have
>>> everything on
>>> one filesystem, for example:
>>> --with-tclpackage=path/to/zfs/some/dir/opt/Library/Tcl
>> Also consider your applications and frameworks. You may want to use
>> --with-applications-dir and --with-frameworks-dir also.
>> So if you want everything to be on the ZFS drive, then you may want:
>> PREFIX=/path/to/zfs/some/dir

Also keep in mind that with zfs its possible to just do "zfs set  
mountpoint=/opt mypool/macports" and then the default location (/opt)  
is under ZFS.  I don't think this confuses the finder/carbon apps any  
more than the /Volumes/mypool/myfilesystem mountpoints do already.


More information about the macports-users mailing list