1 <?xml version="1.0"?>
   2 
   3 <!--
   4  CDDL HEADER START
   5 
   6  The contents of this file are subject to the terms of the
   7  Common Development and Distribution License (the "License").
   8  You may not use this file except in compliance with the License.
   9 
  10  You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  11  or http://www.opensolaris.org/os/licensing.
  12  See the License for the specific language governing permissions
  13  and limitations under the License.
  14 
  15  When distributing Covered Code, include this CDDL HEADER in each
  16  file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  17  If applicable, add the following below this CDDL HEADER, with the
  18  fields enclosed by brackets "[]" replaced with your own identifying
  19  information: Portions Copyright [yyyy] [name of copyright owner]
  20 
  21  CDDL HEADER END
  22 
  23  Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  24  Use is subject to license terms.
  25 
  26  ident  "%Z%%M% %I%     %E% SMI"
  27 
  28  DO NOT EDIT THIS FILE.
  29 -->
  30 
  31 <!DOCTYPE platform PUBLIC "-//Sun Microsystems Inc//Zones Platform//EN"
  32     "file:///usr/share/lib/xml/dtd/zone_platform.dtd.1">
  33 
  34 <platform name="lx" allow-exclusive-ip="false">
  35         <!-- Global filesystems to mount when booting the zone -->
  36         <global_mount special="/dev" directory="/native/dev" type="dev"
  37             opt="attrdir=%R/dev" />
  38         <global_mount special="/lib" directory="/native/lib"
  39             opt="ro" type="lofs" />
  40         <global_mount special="/usr/lib" directory="/native/usr/lib"
  41             opt="ro" type="lofs" />
  42         <global_mount special="/usr/lib/brand/lx/etc_default_nfs"
  43             directory="/native/etc/default/nfs" type="lofs" opt="ro" />
  44         <global_mount special="/usr/lib/brand/lx/etc_netconfig"
  45             directory="/native/etc/netconfig" type="lofs" opt="ro" />
  46 
  47         <!-- Local filesystems to mount when booting the zone -->
  48         <mount special="/native/dev" directory="/dev" type="lofs" />
  49         <mount special="proc" directory="/native/proc" type="proc" />
  50         <mount special="swap" directory="/native/etc/svc/volatile"
  51             type="tmpfs" />
  52         <mount special="swap" directory="/native/tmp" type="tmpfs" />
  53 
  54         <!-- Devices to create under /dev -->
  55         <device match="null" />
  56         <device match="pts/*" />
  57         <device match="random" />
  58         <device match="tcp" />
  59         <device match="tcp6" />
  60         <device match="tty" />
  61         <device match="udp" />
  62         <device match="udp6" />
  63         <device match="urandom" />
  64         <device match="zero" />
  65 
  66         <!-- Renamed devices to create under /dev -->
  67         <device match="brand/lx/ptmx" name="ptmx" />
  68         <device match="zcons/%z/zoneconsole" name="console" />
  69 
  70         <!-- Audio devices to create under /dev -->
  71         <device match="brand/lx/dsp" name="dsp" />
  72         <device match="brand/lx/mixer" name="mixer" />
  73 
  74         <!-- Symlinks to create under /dev -->
  75         <symlink source="fd" target="../proc/self/fd" />
  76         <symlink source="log" target="/var/run/syslog" />
  77         <symlink source="stderr" target="../proc/self/fd/2" />
  78         <symlink source="stdin" target="../proc/self/fd/0" />
  79         <symlink source="stdout" target="../proc/self/fd/1" />
  80         <symlink source="systty" target="console" />
  81 
  82         <!-- Create a mount point for for the /dev/initctl fifo -->
  83         <device match="null" name="initctl" />
  84 
  85 </platform>