Ticket #14796 (pike): please commit

Jordan K. Hubbard jkh at apple.com
Mon Mar 31 12:27:26 PDT 2008


On Mar 31, 2008, at 10:25 AM, Anders F Björklund wrote:

> chroot was discussed last year, but somewhat discarded as overkill  
> compared to trace mode and flexible logging... I updated the chroot  
> scripts from OpenDarwin to install Tiger instead, but there never  
> was a "minimum footprint" decided so it installed most of it - or  
> about 4 GB in total. (this was when installed from the Mac OS X +  
> Xcode Tools installation packages, before any pruning)

As Paul and I discussed a number of times, "trace mode" could indeed  
effectively simulate a chroot by confining all reads/stats to a  
specific namespace (which, presumably, would be defined by a "target"  
configuration file somewhere) and redirecting all open-for-write  
requests to a scratch location, possibly with copy-on-write semantics  
if that becomes necessary.  Sounds like an excellent GSOC project. ;-)

- Jordan



More information about the macports-dev mailing list