/opt/local on non-boot partition

Joshua Root jmr at macports.org
Sat Sep 28 14:33:20 PDT 2013


On 2013-9-29 05:40 , Ryan Schmidt wrote:
> 
> On Sep 28, 2013, at 10:11, Bradley Giesbrecht <pixilla at macports.org> wrote:
> 
>> Is there MP documentation of a supported method of having /opt on a non-boot partition?
> 
> 
> I don't think so… certainly you can install MacPorts on a non-default partition; you just compile from source and set --prefix=/Volumes/Whatever/opt/local for example. If you wanted to still be able to refer to it as /opt/local, you could make /opt/local a symlink to /Volumes/Whatever/opt/local and that should work in most cases.

'mount /dev/foo /opt/local' should work fine.

- Josh


More information about the macports-dev mailing list