1e71ca95cSGerald Jelinek<?xml version="1.0"?>
2e71ca95cSGerald Jelinek
3e71ca95cSGerald Jelinek<!--
4e71ca95cSGerald Jelinek CDDL HEADER START
5e71ca95cSGerald Jelinek
6e71ca95cSGerald Jelinek The contents of this file are subject to the terms of the
7e71ca95cSGerald Jelinek Common Development and Distribution License (the "License").
8e71ca95cSGerald Jelinek You may not use this file except in compliance with the License.
9e71ca95cSGerald Jelinek
10e71ca95cSGerald Jelinek You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11e71ca95cSGerald Jelinek or http://www.opensolaris.org/os/licensing.
12e71ca95cSGerald Jelinek See the License for the specific language governing permissions
13e71ca95cSGerald Jelinek and limitations under the License.
14e71ca95cSGerald Jelinek
15e71ca95cSGerald Jelinek When distributing Covered Code, include this CDDL HEADER in each
16e71ca95cSGerald Jelinek file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17e71ca95cSGerald Jelinek If applicable, add the following below this CDDL HEADER, with the
18e71ca95cSGerald Jelinek fields enclosed by brackets "[]" replaced with your own identifying
19e71ca95cSGerald Jelinek information: Portions Copyright [yyyy] [name of copyright owner]
20e71ca95cSGerald Jelinek
21e71ca95cSGerald Jelinek CDDL HEADER END
22e71ca95cSGerald Jelinek
230fbb751dSJohn Levon Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
24e71ca95cSGerald Jelinek
25e71ca95cSGerald Jelinek DO NOT EDIT THIS FILE.
26e71ca95cSGerald Jelinek-->
27e71ca95cSGerald Jelinek
28e71ca95cSGerald Jelinek<!DOCTYPE platform PUBLIC "-//Sun Microsystems Inc//Zones Platform//EN"
29e71ca95cSGerald Jelinek    "file:///usr/share/lib/xml/dtd/zone_platform.dtd.1">
30e71ca95cSGerald Jelinek
31e71ca95cSGerald Jelinek<platform name="solaris10" allow-exclusive-ip="true">
32e71ca95cSGerald Jelinek
33e71ca95cSGerald Jelinek	<!-- Global filesystems to mount when booting the zone -->
34e71ca95cSGerald Jelinek	<global_mount special="/dev" directory="/dev" type="dev"
35e71ca95cSGerald Jelinek	    opt="attrdir=%R/dev"/>
36e71ca95cSGerald Jelinek
37e71ca95cSGerald Jelinek	<!--
38e71ca95cSGerald Jelinek	    Local filesystems to mount when booting the zone.  The
39e71ca95cSGerald Jelinek	    /.SUNWnative/platform entry is needed so that we can symlink a
40e71ca95cSGerald Jelinek	    platform-specific libc_psr for platforms which were not delivered
41e71ca95cSGerald Jelinek	    with S10.  The /.SUNWnative/sbin entry is needed so that we can
42e71ca95cSGerald Jelinek	    replace ifconfig with its native counterpart (this is required for
43e71ca95cSGerald Jelinek	    exclusive-stack S10 zones to work).
44e71ca95cSGerald Jelinek	-->
45e71ca95cSGerald Jelinek	<global_mount special="/usr" directory="/.SUNWnative/usr"
46e71ca95cSGerald Jelinek	    opt="ro,nodevices" type="lofs" />
47e71ca95cSGerald Jelinek	<global_mount special="/lib" directory="/.SUNWnative/lib"
48e71ca95cSGerald Jelinek	    opt="ro,nodevices" type="lofs" />
49e71ca95cSGerald Jelinek	<global_mount special="/platform" directory="/.SUNWnative/platform"
50e71ca95cSGerald Jelinek	    opt="ro,nodevices" type="lofs" />
51e71ca95cSGerald Jelinek	<global_mount special="/sbin" directory="/.SUNWnative/sbin"
52e71ca95cSGerald Jelinek	    opt="ro,nodevices" type="lofs" />
53e71ca95cSGerald Jelinek
54e71ca95cSGerald Jelinek	<!-- Local filesystems to mount when booting the zone -->
55e71ca95cSGerald Jelinek	<mount special="/proc" directory="/proc" type="proc" />
56e71ca95cSGerald Jelinek	<mount special="ctfs" directory="/system/contract" type="ctfs" />
57e71ca95cSGerald Jelinek	<mount special="mnttab" directory="/etc/mnttab" type="mntfs" />
58e71ca95cSGerald Jelinek	<mount special="objfs" directory="/system/object" type="objfs" />
59e71ca95cSGerald Jelinek	<mount special="swap" directory="/etc/svc/volatile" type="tmpfs" />
60e71ca95cSGerald Jelinek
61e71ca95cSGerald Jelinek	<!-- Devices to create under /dev -->
62e71ca95cSGerald Jelinek	<device match="arp" />
63e71ca95cSGerald Jelinek	<device match="bpf" />
64e71ca95cSGerald Jelinek	<device match="conslog" />
65e71ca95cSGerald Jelinek	<device match="cpu/self/cpuid" />
66e71ca95cSGerald Jelinek	<device match="crypto" />
67e71ca95cSGerald Jelinek	<device match="cryptoadm" />
68e71ca95cSGerald Jelinek	<device match="dsk" />
69e71ca95cSGerald Jelinek	<device match="dtrace/*" />
70e71ca95cSGerald Jelinek	<device match="dtrace/provider/*" />
71e71ca95cSGerald Jelinek	<device match="fd" />
72*b1c760bdSJames Blachly	<device match="full" />
73e71ca95cSGerald Jelinek	<device match="ipnet" />
74e71ca95cSGerald Jelinek	<device match="kstat" />
75e71ca95cSGerald Jelinek	<device match="lo0" />
760fbb751dSJohn Levon	<device match="lofictl" />
770fbb751dSJohn Levon	<device match="lofi" />
78e71ca95cSGerald Jelinek	<device match="log" />
79e71ca95cSGerald Jelinek	<device match="logindmux" />
80e71ca95cSGerald Jelinek	<device match="nsmb" />
81e71ca95cSGerald Jelinek	<device match="net/*" />
82e71ca95cSGerald Jelinek	<device match="null" />
83e71ca95cSGerald Jelinek	<device match="openprom" arch="sparc" />
84e71ca95cSGerald Jelinek	<device match="poll" />
85e71ca95cSGerald Jelinek	<device match="pool" />
86e71ca95cSGerald Jelinek	<device match="ptmx" />
87e71ca95cSGerald Jelinek	<device match="pts/*" />
88e71ca95cSGerald Jelinek	<device match="random" />
89e71ca95cSGerald Jelinek	<device match="rdsk" />
900fbb751dSJohn Levon	<device match="rlofi" />
91e71ca95cSGerald Jelinek	<device match="rmt" />
92e71ca95cSGerald Jelinek	<device match="sad/user" />
93e71ca95cSGerald Jelinek	<device match="svvslo0" />
94e71ca95cSGerald Jelinek	<device match="svvslo1" />
95e71ca95cSGerald Jelinek	<device match="svvslo2" />
96e71ca95cSGerald Jelinek	<device match="svvslo3" />
97e71ca95cSGerald Jelinek	<device match="swap" />
98e71ca95cSGerald Jelinek	<device match="sysevent" />
99e71ca95cSGerald Jelinek	<device match="tcp" />
100e71ca95cSGerald Jelinek	<device match="tcp6" />
101e71ca95cSGerald Jelinek	<device match="term" />
102e71ca95cSGerald Jelinek	<device match="ticlts" />
103e71ca95cSGerald Jelinek	<device match="ticots" />
104e71ca95cSGerald Jelinek	<device match="ticotsord" />
105e71ca95cSGerald Jelinek	<device match="tty" />
106e71ca95cSGerald Jelinek	<device match="udp" />
107e71ca95cSGerald Jelinek	<device match="udp6" />
108e71ca95cSGerald Jelinek	<device match="urandom" />
109e71ca95cSGerald Jelinek	<device match="zero" />
110e71ca95cSGerald Jelinek	<device match="zfs" />
111e71ca95cSGerald Jelinek
112e71ca95cSGerald Jelinek	<!-- Devices to create in exclusive IP zone only -->
113e71ca95cSGerald Jelinek	<device match="dld" ip-type="exclusive" />
114e71ca95cSGerald Jelinek	<device match="icmp" ip-type="exclusive" />
115e71ca95cSGerald Jelinek	<device match="icmp6" ip-type="exclusive" />
116e71ca95cSGerald Jelinek	<device match="ip" ip-type="exclusive" />
117e71ca95cSGerald Jelinek	<device match="ip6" ip-type="exclusive" />
118e71ca95cSGerald Jelinek	<device match="ipauth" ip-type="exclusive" />
119e71ca95cSGerald Jelinek	<device match="ipf" ip-type="exclusive" />
120e71ca95cSGerald Jelinek	<device match="ipl" ip-type="exclusive" />
121e71ca95cSGerald Jelinek	<device match="iplookup" ip-type="exclusive" />
122e71ca95cSGerald Jelinek	<device match="ipmpstub" ip-type="exclusive" />
123e71ca95cSGerald Jelinek	<device match="ipnat" ip-type="exclusive" />
124e71ca95cSGerald Jelinek	<device match="ipscan" ip-type="exclusive" />
125e71ca95cSGerald Jelinek	<device match="ipsecah" ip-type="exclusive" />
126e71ca95cSGerald Jelinek	<device match="ipsecesp" ip-type="exclusive" />
127e71ca95cSGerald Jelinek	<device match="ipstate" ip-type="exclusive" />
128e71ca95cSGerald Jelinek	<device match="ipsync" ip-type="exclusive" />
129e71ca95cSGerald Jelinek	<device match="keysock" ip-type="exclusive" />
130e71ca95cSGerald Jelinek	<device match="rawip" ip-type="exclusive" />
131e71ca95cSGerald Jelinek	<device match="rawip6" ip-type="exclusive" />
132e71ca95cSGerald Jelinek	<device match="rts" ip-type="exclusive" />
133e71ca95cSGerald Jelinek	<device match="sad/admin" ip-type="exclusive" />
134e71ca95cSGerald Jelinek	<device match="sctp" ip-type="exclusive" />
135e71ca95cSGerald Jelinek	<device match="sctp6" ip-type="exclusive" />
136e71ca95cSGerald Jelinek	<device match="spdsock" ip-type="exclusive" />
137e71ca95cSGerald Jelinek	<device match="sppp" ip-type="exclusive" />
138e71ca95cSGerald Jelinek	<device match="sppptun" ip-type="exclusive" />
139bd670b35SErik Nordmark	<device match="vni" ip-type="exclusive" />
140e71ca95cSGerald Jelinek
141e71ca95cSGerald Jelinek	<!-- Renamed devices to create under /dev -->
142e71ca95cSGerald Jelinek	<device match="zcons/%z/zoneconsole" name="zconsole" />
143e71ca95cSGerald Jelinek
144e71ca95cSGerald Jelinek	<!-- Symlinks to create under /dev -->
145e71ca95cSGerald Jelinek	<symlink source="console" target="zconsole" />
146e71ca95cSGerald Jelinek	<symlink source="dtremote" target="/dev/null" />
147e71ca95cSGerald Jelinek	<symlink source="msglog" target="zconsole" />
148e71ca95cSGerald Jelinek	<symlink source="stderr" target="./fd/2" />
149e71ca95cSGerald Jelinek	<symlink source="stdin" target="./fd/0" />
150e71ca95cSGerald Jelinek	<symlink source="stdout" target="./fd/1" />
151e71ca95cSGerald Jelinek	<symlink source="syscon" target="zconsole" />
152e71ca95cSGerald Jelinek	<symlink source="sysmsg" target="zconsole" />
153e71ca95cSGerald Jelinek	<symlink source="systty" target="zconsole" />
154e71ca95cSGerald Jelinek</platform>
155