Re: Mac OS X Jails
Re: Mac OS X Jails
- Subject: Re: Mac OS X Jails
- From: Bill Northcott <email@hidden>
- Date: Fri, 31 Jul 2009 12:00:19 +1000
On 31/07/2009, at 5:03 AM, Juan wrote:
I need to set up multiple development environments on my Macbook Pro
and don't want
to trash the default Mac OS X installs of apache etc...
A Jail would simplify things considerably.
I hope Mac OS X ports over FreeBSD Jails or Solaris Zones as soon as
possible! Its sorely needed.
Parallels or VMWare is over kill and resource intensive. Jails are
lightweight.
I really can't believe Jails aren't in Mac OS X. What a shock!
Horror horror horror: Darwin/MacOS is NOT Linux. Get used to it! ;-)
That does not mean you cannot do what you you are trying to do. It
just means you might need to think different.
The big difference between Darwin and all the other UNIXen that I have
used: Linux, Solaris, HP-UX, True64..., is in the shared library
arrangement.
At runtime other systems search some sort of shared library path to
find an appropriate library to link. Darwin is different. The path
to the linked shared libraries is written into an executable at static
link time. At runtime, dyld (the launcher) will always look at that
path first. It only uses the DYLD_LIBRARY_PATH if the library is not
found at the right path. (do an 'otool -L' on any library or
executable) So you can have as many virtual systems as you like, build
and run using them and almost the only thing they need in common is
the kernel (and maybe some GUI stuff if you use it). Look at the way
Xcode uses SDKs and the systemroot and other useful compiler and
linker options. (the linker is very different RTFM)
So you see jails are not there, because you don't need them.
Hope that helps you not to go off on some wild goose chase.
Bill Northcott
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden