Print this page
    
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/lib/brand/lx/zone/platform.xml
          +++ new/usr/src/lib/brand/lx/zone/platform.xml
   1    1  <?xml version="1.0"?>
   2    2  
   3    3  <!--
   4    4   CDDL HEADER START
   5    5  
   6    6   The contents of this file are subject to the terms of the
   7    7   Common Development and Distribution License (the "License").
   8    8   You may not use this file except in compliance with the License.
   9    9  
  10   10   You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  11   11   or http://www.opensolaris.org/os/licensing.
  12   12   See the License for the specific language governing permissions
  13   13   and limitations under the License.
  14   14  
  15   15   When distributing Covered Code, include this CDDL HEADER in each
  16   16   file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  17   17   If applicable, add the following below this CDDL HEADER, with the
  18   18   fields enclosed by brackets "[]" replaced with your own identifying
  19   19   information: Portions Copyright [yyyy] [name of copyright owner]
  20   20  
  21   21   CDDL HEADER END
  22   22  
  23   23   Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  24   24   Use is subject to license terms.
  25   25   Copyright 2016 Joyent, Inc.
  26   26  
  27   27   DO NOT EDIT THIS FILE.
  28   28  -->
  29   29  
  30   30  <!DOCTYPE platform PUBLIC "-//Sun Microsystems Inc//Zones Platform//EN"
  31   31      "file:///usr/share/lib/xml/dtd/zone_platform.dtd.1">
  32   32  
  33   33  <platform name="lx" allow-exclusive-ip="true">
  34   34          <!-- Global filesystems to mount when booting the zone -->
  35   35          <global_mount special="/dev" directory="/native/dev" type="dev"
  36   36              opt="attrdir=%R/dev" />
  37   37  
  38   38          <!--
  39   39              Local filesystems to mount when booting the zone. The /native/sbin
  40   40              entry is needed so that we can replace ifconfig with its native
  41   41              counterpart (this is required for exclusive-stack zones to work).
  42   42              We also need dladm from /native/sbin.
  43   43          -->
  44   44          <global_mount special="/lib" directory="/native/lib"
  45   45              opt="ro" type="lofs" />
  46   46          <global_mount special="/usr" directory="/native/usr"
  47   47              opt="ro" type="lofs" />
  48   48          <global_mount special="/usr/lib/brand/lx/etc_default_nfs"
  49   49              directory="/native/etc/default/nfs" type="lofs" opt="ro" />
  50   50          <global_mount special="/etc/default/dhcpagent"
  51   51              directory="/native/etc/default/dhcpagent" type="lofs" opt="ro" />
  52   52          <global_mount special="/etc/netconfig"
  53   53              directory="/native/etc/netconfig" type="lofs" opt="ro" />
  54   54          <global_mount special="/etc/nfssec.conf"
  55   55              directory="/native/etc/nfssec.conf" type="lofs" opt="ro" />
  56   56          <global_mount special="/sbin"
  57   57              directory="/native/sbin" opt="ro,nodevices" type="lofs" />
  58   58          <global_mount special="/usr/lib/brand/lx/ld" directory="/var/ld"
  59   59              opt="ro" type="lofs" />
  60   60          <global_mount special="/etc/zones/%z.xml"
  61   61              directory="/native/etc/zones/%z.xml" opt="ro" type="lofs" />
  62   62  
  63   63          <!-- Local filesystems to mount when booting the zone -->
  64   64          <mount special="/native/dev" directory="/dev" type="lx_devfs" />
  65   65          <mount special="proc" directory="/native/proc" type="proc" />
  66   66          <mount special="swap" directory="/native/etc/svc/volatile"
  67   67              type="tmpfs" />
  68   68          <mount special="swap" directory="/native/tmp" type="tmpfs" />
  69   69          <mount special="objfs" directory="/system/object" type="objfs" />
  70   70          <mount special="ctfs" directory="/system/contract" type="ctfs" />
  71   71          <mount special="mnttab" directory="/etc/mnttab" type="mntfs" />
  72   72          <mount special="lxproc" directory="/proc" type="lx_proc" />
  73   73  
  74   74          <!-- Devices to create under /dev -->
  75   75          <device match="arp" />
  76   76          <device match="dtrace/*" />
  77   77          <device match="dtrace/provider/*" />
  78   78          <device match="eventfd" />
  79   79          <device match="inotify" />
  80   80          <device match="ipnet" />
  81   81          <device match="kstat" />
  82   82          <device match="lo0" />
  83   83          <device match="null" />
  84   84          <device match="poll" />
  85   85          <device match="pts/*" />
  86   86          <device match="random" />
  87   87          <device match="signalfd" />
  88   88          <device match="tcp" />
  89   89          <device match="tcp6" />
  90   90          <device match="timerfd" />
  91   91          <device match="tty" />
  92   92          <device match="udp" />
  93   93          <device match="udp6" />
  94   94          <device match="urandom" />
  95   95          <device match="zero" />
  96   96          <device match="zfs" />
  97   97          <device match="zvol/dsk/%P/%z/*" />
  98   98          <device match="zvol/rdsk/%P/%z/*" />
  99   99  
 100  100          <!-- Devices to create in exclusive IP zone only -->
 101  101          <device match="dld" ip-type="exclusive" />
 102  102          <device match="icmp" ip-type="exclusive" />
 103  103          <device match="icmp6" ip-type="exclusive" />
 104  104          <device match="ip" ip-type="exclusive" />
 105  105          <device match="ip6" ip-type="exclusive" />
 106  106          <device match="ipauth" ip-type="exclusive" />
 107  107          <device match="ipf" ip-type="exclusive" />
 108  108          <device match="ipl" ip-type="exclusive" />
 109  109          <device match="iplookup" ip-type="exclusive" />
 110  110          <device match="ipmpstub" ip-type="exclusive" />
 111  111          <device match="ipnat" ip-type="exclusive" />
 112  112          <device match="ipscan" ip-type="exclusive" />
 113  113          <device match="ipsecah" ip-type="exclusive" />
 114  114          <device match="ipsecesp" ip-type="exclusive" />
 115  115          <device match="ipstate" ip-type="exclusive" />
 116  116          <device match="ipsync" ip-type="exclusive" />
 117  117          <device match="keysock" ip-type="exclusive" />
 118  118          <device match="net/*" ip-type="exclusive" />
 119  119          <device match="rawip" ip-type="exclusive" />
 120  120          <device match="rawip6" ip-type="exclusive" />
 121  121          <device match="rts" ip-type="exclusive" />
 122  122          <device match="sad/admin" ip-type="exclusive" />
 123  123          <device match="sctp" ip-type="exclusive" />
 124  124          <device match="sctp6" ip-type="exclusive" />
 125  125          <device match="spdsock" ip-type="exclusive" />
 126  126          <device match="sppp" ip-type="exclusive" />
 127  127          <device match="sppptun" ip-type="exclusive" />
 128  128          <device match="vni" ip-type="exclusive" />
 129  129  
 130  130          <!-- Renamed devices to create under /dev -->
 131  131          <device match="brand/lx/autofs" name="autofs" />
 132  132          <device match="brand/lx/ptmx" name="ptmx" />
 133  133          <device match="zcons/%z/zoneconsole" name="console" />
 134  134          <device match="zfd/%z/slave/0" name="zfd/0" />
 135  135          <device match="zfd/%z/slave/1" name="zfd/1" />
 136  136          <device match="zfd/%z/slave/2" name="zfd/2" />
 137  137          <device match="zfd/%z/slave/3" name="zfd/3" />
 138  138          <device match="zfd/%z/slave/4" name="zfd/4" />
 139  139  
 140  140          <!-- Audio devices to create under /dev -->
 141  141          <device match="brand/lx/dsp" name="dsp" />
 142  142          <device match="brand/lx/mixer" name="mixer" />
 143  143  
 144  144          <!-- Symlinks to create under /dev -->
 145  145          <symlink source="fd" target="../proc/self/fd" />
 146  146          <symlink source="stderr" target="../proc/self/fd/2" />
 147  147          <symlink source="stdin" target="../proc/self/fd/0" />
 148  148          <symlink source="stdout" target="../proc/self/fd/1" />
 149  149          <symlink source="systty" target="console" />
 150  150          <symlink source="kmsg" target="console" />
 151  151          <symlink source="conslog" target="console" />
 152  152  
 153  153          <!-- Create a mount point for the /dev/initctl fifo -->
 154  154          <device match="null" name="initctl" />
 155  155          <!-- Create a mount point for /dev/shm tmpfs (see shm_overview(7)) -->
 156  156          <!-- We need to force a dir for the Linux mount to work ok -->
 157  157          <symlink source="shm/loop" target="." />
 158  158          <!-- Create a dummy /dev/xconsole -->
 159  159          <device match="null" name="xconsole" />
 160  160  
 161  161  </platform>
  
    | 
      ↓ open down ↓ | 
    161 lines elided | 
    
      ↑ open up ↑ | 
  
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX