It's correct if you have à local zone creating whitout -b option !
but if yoy are creating you local zone whith -b option the /usr in the local 
zone is not the same in the global zone !!


DSI - Ressources 

Administrateur système

9 boulevard du Général de GAULLE

92126 Montrouge CEDEX


Tel : 0146124526 Fax : 0146124550

P Pensons ENVIRONNEMENT: n'imprimer que si nécessaire ... 



De : Michael Barto [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 29 août 2007 17:40
À : Boyd Adamson
Cc : Sabri Ali;
Objet : Re: [zones-discuss] zonename

This question has been asked before. This  is the trick we use:

Since the zone command  /usr/sbin/zoneadm list -vi does not display the name of 
the global zone when logged on to a local zone, we added to the global zone OS 
filesystem in "/usr/bin" a script/command called "zone-global-name". This 
script has the global zone name hard coded and echoes its name. e.g.

echo "<global zone name>"

Now every time we build a new local zone this command is copied or shared with 
the local zone depending on the type of zone created. This installs a command 
that will always show you the name of the global zone when you are on logged on 
to the local zone. 

Kind of a hack, but it works for us.

Boyd Adamson wrote: 

        "Sabri Ali" <[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]>  writes:

                if  i'm in a zone localy how do i know the zone global, with 
which command ??

        This should probably be in the FAQ. It last came up about 2 weeks ago:
        zones-discuss mailing list



Michael Barto
Software Architect

LogiQwest Inc.
16458 Bolsa Chica Street, # 15
Huntington Beach, CA  92649

                 [EMAIL PROTECTED]
Tel:  714 377 3705
Fax: 714 840 3937
Cell: 714 883 1949

'tis a gift to be simple 

This e-mail may contain LogiQwest proprietary information and should be treated 
as confidential.        


zones-discuss mailing list

Reply via email to