Merge commit '0e8ce6ee7524ee6c2c24a2d4ed28ea71a5dcd85e'
[unleashed.git] / usr / src / lib / brand / sn1 / zone / platform.xml
blobcbab977f812a18c0aee02c4708969f8d84410aec
1 <?xml version="1.0"?>
3 <!--
4  CDDL HEADER START
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.
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.
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]
21  CDDL HEADER END
23  Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
25  DO NOT EDIT THIS FILE.
26 -->
28 <!DOCTYPE platform PUBLIC "-//Sun Microsystems Inc//Zones Platform//EN"
29     "file:///usr/share/lib/xml/dtd/zone_platform.dtd.1">
31 <platform name="native" allow-exclusive-ip="true">
33         <!-- Global filesystems to mount when booting the zone -->
34         <global_mount special="/dev" directory="/dev" type="dev"
35             opt="attrdir=%R/dev"/>
37         <global_mount special="/usr" directory="/.SUNWnative/usr"
38             opt="ro,nodevices" type="lofs" />
39         <global_mount special="/lib" directory="/.SUNWnative/lib"
40             opt="ro,nodevices" type="lofs" />
42         <!-- Local filesystems to mount when booting the zone -->
43         <mount special="/proc" directory="/proc" type="proc" />
44         <mount special="ctfs" directory="/system/contract" type="ctfs" />
45         <mount special="mnttab" directory="/etc/mnttab" type="mntfs" />
46         <mount special="objfs" directory="/system/object" type="objfs" />
47         <mount special="swap" directory="/etc/svc/volatile" type="tmpfs" />
49         <!-- Devices to create under /dev -->
50         <device match="arp" />
51         <device match="bpf" />
52         <device match="conslog" />
53         <device match="cpu/self/cpuid" />
54         <device match="crypto" />
55         <device match="cryptoadm" />
56         <device match="dsk" />
57         <device match="dtrace/*" />
58         <device match="dtrace/provider/*" />
59         <device match="eventfd" />
60         <device match="fd" />
61         <device match="full" />
62         <device match="ipnet" />
63         <device match="kstat" />
64         <device match="lo0" />
65         <device match="lofictl" />
66         <device match="lofi" />
67         <device match="log" />
68         <device match="logindmux" />
69         <device match="nsmb" />
70         <device match="net/*" />
71         <device match="null" />
72         <device match="openprom" arch="sparc" />
73         <device match="poll" />
74         <device match="pool" />
75         <device match="ptmx" />
76         <device match="pts/*" />
77         <device match="random" />
78         <device match="rdsk" />
79         <device match="rlofi" />
80         <device match="rmt" />
81         <device match="sad/user" />
82         <device match="swap" />
83         <device match="sysevent" />
84         <device match="tcp" />
85         <device match="tcp6" />
86         <device match="term" />
87         <device match="ticlts" />
88         <device match="ticots" />
89         <device match="ticotsord" />
90         <device match="tty" />
91         <device match="udp" />
92         <device match="udp6" />
93         <device match="urandom" />
94         <device match="zero" />
95         <device match="zfs" />
97         <!-- Devices to create in exclusive IP zone only -->
98         <device match="dld" ip-type="exclusive" />
99         <device match="icmp" ip-type="exclusive" />
100         <device match="icmp6" ip-type="exclusive" />
101         <device match="ip" ip-type="exclusive" />
102         <device match="ip6" ip-type="exclusive" />
103         <device match="ipauth" ip-type="exclusive" />
104         <device match="ipf" ip-type="exclusive" />
105         <device match="ipl" ip-type="exclusive" />
106         <device match="iplookup" ip-type="exclusive" />
107         <device match="ipmpstub" ip-type="exclusive" />
108         <device match="ipnat" ip-type="exclusive" />
109         <device match="ipscan" ip-type="exclusive" />
110         <device match="ipsecah" ip-type="exclusive" />
111         <device match="ipsecesp" ip-type="exclusive" />
112         <device match="ipstate" ip-type="exclusive" />
113         <device match="ipsync" ip-type="exclusive" />
114         <device match="iptunq" ip-type="exclusive" />
115         <device match="keysock" ip-type="exclusive" />
116         <device match="rawip" ip-type="exclusive" />
117         <device match="rawip6" ip-type="exclusive" />
118         <device match="rts" ip-type="exclusive" />
119         <device match="sad/admin" ip-type="exclusive" />
120         <device match="sctp" ip-type="exclusive" />
121         <device match="sctp6" ip-type="exclusive" />
122         <device match="spdsock" ip-type="exclusive" />
123         <device match="sppp" ip-type="exclusive" />
124         <device match="sppptun" ip-type="exclusive" />
126         <!-- Renamed devices to create under /dev -->
127         <device match="zcons/%z/zoneconsole" name="zconsole" />
129         <!-- Symlinks to create under /dev -->
130         <symlink source="console" target="zconsole" />
131         <symlink source="dtremote" target="/dev/null" />
132         <symlink source="msglog" target="zconsole" />
133         <symlink source="stderr" target="./fd/2" />
134         <symlink source="stdin" target="./fd/0" />
135         <symlink source="stdout" target="./fd/1" />
136         <symlink source="syscon" target="zconsole" />
137         <symlink source="sysmsg" target="zconsole" />
138         <symlink source="systty" target="zconsole" />
139 </platform>