[indiana-discuss] Adopt Indiana personalities (GNU and SUN)
Josh Lange
josh.h.lange at gmail.com
Wed Mar 5 00:19:41 PST 2008
I second that.
Josh
On Tue, Mar 4, 2008 at 11:26 PM, Brandorr <brandorr at opensolaris.org> wrote:
> Regarding the Sun vs. GNU userspace issue, might we consider following
> Nexenta's lead here?
>
> http://www.nexenta.org/os/Different_Personalities
>
> The default behavior of NexentaOS is to search for execution binaries
> in order described in the PATH. Standard locations such as /usr/bin
> and /usr/sbin all populated with GNU binaries, which makes NexentaOS
> behave as GNU system. SUN binaries saved in /usr/sun/bin and
> /usr/sun/sbin locations and system could be forced to use SUN-like
> personality by utilizing SUN_PERSONALITY environment variable.
>
> SUN_PERSONALITY execve() system call logic implemented and it is
> finally allows Solaris-centric scripts to be executed in NexentaOS
> without modifications.
>
> Simple SUN_PERSONALITY=1 environment variable will switch execution
> paths on the fly to look on /usr/sun/{bin,sbin} first.
>
> nexenta-pkgcmd package using this during "alien" SVR4=>Debian on-the
> fly conversion to enable solaris-like environment for SVR4 maintainers
> scripts.
>
> Cheers,
> Brian
>
> P.S. - Can we consider /usr/sun/bin, instead of /usr/has/bin?? This is
> a bit more respectful to the founders of Sun and the initial ancestors
> that created this OS.
>
> --
> - Brian Gupta
>
> http://opensolaris.org/os/project/nycosug/
>
> http://www.genunix.org/wiki/index.php/OpenSolaris_New_User_FAQ
> _______________________________________________
> indiana-discuss mailing list
> indiana-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.opensolaris.org/pipermail/indiana-discuss/attachments/20080305/a9badcf8/attachment.html
More information about the indiana-discuss
mailing list