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]
23 Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
25 DO NOT EDIT THIS FILE.
28 <!DOCTYPE platform PUBLIC "-//Sun Microsystems Inc//Zones Platform//EN"
29 "file:///usr/share/lib/xml/dtd/zone_platform.dtd.1">
31 <platform name="solaris10" 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"/>
38 Local filesystems to mount when booting the zone. The
39 /.SUNWnative/platform entry is needed so that we can symlink a
40 platform-specific libc_psr for platforms which were not delivered
41 with S10. The /.SUNWnative/sbin entry is needed so that we can
42 replace ifconfig with its native counterpart (this is required for
43 exclusive-stack S10 zones to work).
45 <global_mount special="/usr" directory="/.SUNWnative/usr"
46 opt="ro,nodevices" type="lofs" />
47 <global_mount special="/lib" directory="/.SUNWnative/lib"
48 opt="ro,nodevices" type="lofs" />
49 <global_mount special="/platform" directory="/.SUNWnative/platform"
50 opt="ro,nodevices" type="lofs" />
51 <global_mount special="/sbin" directory="/.SUNWnative/sbin"
52 opt="ro,nodevices" type="lofs" />
54 <!-- Local filesystems to mount when booting the zone -->
55 <mount special="/proc" directory="/proc" type="proc" />
56 <mount special="ctfs" directory="/system/contract" type="ctfs" />
57 <mount special="mnttab" directory="/etc/mnttab" type="mntfs" />
58 <mount special="objfs" directory="/system/object" type="objfs" />
59 <mount special="swap" directory="/etc/svc/volatile" type="tmpfs" />
61 <!-- Devices to create under /dev -->
62 <device match="arp" />
63 <device match="bpf" />
64 <device match="conslog" />
65 <device match="cpu/self/cpuid" />
66 <device match="crypto" />
67 <device match="cryptoadm" />
68 <device match="dsk" />
69 <device match="dtrace/*" />
70 <device match="dtrace/provider/*" />
72 <device match="full" />
73 <device match="ipnet" />
74 <device match="kstat" />
75 <device match="lo0" />
76 <device match="lofictl" />
77 <device match="lofi" />
78 <device match="log" />
79 <device match="logindmux" />
80 <device match="nsmb" />
81 <device match="net/*" />
82 <device match="null" />
83 <device match="openprom" arch="sparc" />
84 <device match="poll" />
85 <device match="pool" />
86 <device match="ptmx" />
87 <device match="pts/*" />
88 <device match="random" />
89 <device match="rdsk" />
90 <device match="rlofi" />
91 <device match="rmt" />
92 <device match="sad/user" />
93 <device match="svvslo0" />
94 <device match="svvslo1" />
95 <device match="svvslo2" />
96 <device match="svvslo3" />
97 <device match="swap" />
98 <device match="sysevent" />
99 <device match="tcp" />
100 <device match="tcp6" />
101 <device match="term" />
102 <device match="ticlts" />
103 <device match="ticots" />
104 <device match="ticotsord" />
105 <device match="tty" />
106 <device match="udp" />
107 <device match="udp6" />
108 <device match="urandom" />
109 <device match="zero" />
110 <device match="zfs" />
112 <!-- Devices to create in exclusive IP zone only -->
113 <device match="dld" ip-type="exclusive" />
114 <device match="icmp" ip-type="exclusive" />
115 <device match="icmp6" ip-type="exclusive" />
116 <device match="ip" ip-type="exclusive" />
117 <device match="ip6" ip-type="exclusive" />
118 <device match="ipauth" ip-type="exclusive" />
119 <device match="ipf" ip-type="exclusive" />
120 <device match="ipl" ip-type="exclusive" />
121 <device match="iplookup" ip-type="exclusive" />
122 <device match="ipmpstub" ip-type="exclusive" />
123 <device match="ipnat" ip-type="exclusive" />
124 <device match="ipscan" ip-type="exclusive" />
125 <device match="ipsecah" ip-type="exclusive" />
126 <device match="ipsecesp" ip-type="exclusive" />
127 <device match="ipstate" ip-type="exclusive" />
128 <device match="ipsync" ip-type="exclusive" />
129 <device match="keysock" ip-type="exclusive" />
130 <device match="rawip" ip-type="exclusive" />
131 <device match="rawip6" ip-type="exclusive" />
132 <device match="rts" ip-type="exclusive" />
133 <device match="sad/admin" ip-type="exclusive" />
134 <device match="sctp" ip-type="exclusive" />
135 <device match="sctp6" ip-type="exclusive" />
136 <device match="spdsock" ip-type="exclusive" />
137 <device match="sppp" ip-type="exclusive" />
138 <device match="sppptun" ip-type="exclusive" />
139 <device match="vni" ip-type="exclusive" />
141 <!-- Renamed devices to create under /dev -->
142 <device match="zcons/%z/zoneconsole" name="zconsole" />
144 <!-- Symlinks to create under /dev -->
145 <symlink source="console" target="zconsole" />
146 <symlink source="dtremote" target="/dev/null" />
147 <symlink source="msglog" target="zconsole" />
148 <symlink source="stderr" target="./fd/2" />
149 <symlink source="stdin" target="./fd/0" />
150 <symlink source="stdout" target="./fd/1" />
151 <symlink source="syscon" target="zconsole" />
152 <symlink source="sysmsg" target="zconsole" />
153 <symlink source="systty" target="zconsole" />