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