Print this page
Add sharetab to joyent zones
| Split |
Close |
| Expand all |
| Collapse all |
--- old/usr/src/lib/brand/joyent-minimal/zone/platform.xml
+++ new/usr/src/lib/brand/joyent-minimal/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 2017 Joyent, Inc.
24 24
25 25 DO NOT EDIT THIS FILE.
26 26 -->
27 27
28 28 <!DOCTYPE platform PUBLIC "-//Joyent Inc//Zones Platform//EN"
29 29 "file:///usr/share/lib/xml/dtd/zone_platform.dtd.1">
30 30
31 31 <platform name="joyent-minimal" 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/root/dev"/>
36 36
37 37 <global_mount special="/var/zonecontrol/%z" directory="/.zonecontrol"
38 38 opt="ro,nodevices,nosetuid,noexec" type="lofs" />
39 39
40 40 <global_mount special="/lib" directory="/lib"
41 41 opt="ro,nodevices" type="lofs" />
42 42 <global_mount special="%P/manifests/joyent" directory="/lib/svc/manifest"
43 43 opt="ro,nodevices" type="lofs" />
|
↓ open down ↓ |
43 lines elided |
↑ open up ↑ |
44 44 <global_mount special="%R/site" directory="/lib/svc/manifest/site"
45 45 opt="nodevices" type="lofs" />
46 46 <global_mount special="/sbin" directory="/sbin"
47 47 opt="ro,nodevices" type="lofs" />
48 48 <global_mount special="/usr" directory="/usr"
49 49 opt="ro,nodevices" type="lofs" />
50 50 <global_mount special="%R/local" directory="/usr/local"
51 51 opt="nodevices" type="lofs" />
52 52 <global_mount special="%R/ccs" directory="/usr/ccs"
53 53 opt="nodevices" type="lofs" />
54 + <mount special="sharefs" directory="/etc/dfs/sharetab" type="sharefs" />
54 55
55 56 <!-- Local filesystems to mount when booting the zone -->
56 57 <mount special="/proc" directory="/proc" type="proc" />
57 58 <mount special="ctfs" directory="/system/contract" type="ctfs" />
58 59 <mount special="mnttab" directory="/etc/mnttab" type="mntfs" />
59 60 <mount special="objfs" directory="/system/object" type="objfs" />
60 61 <mount special="lxproc" directory="/system/lxproc" type="lxproc" />
61 62 <mount special="swap" directory="/etc/svc/volatile" type="tmpfs" />
62 63
63 64 <!-- Devices to create under /dev -->
64 65 <device match="arp" />
65 66 <device match="bpf" />
66 67 <device match="conslog" />
67 68 <device match="cpu/self/cpuid" />
68 69 <device match="crypto" />
69 70 <device match="cryptoadm" />
70 71 <device match="dsk" />
71 72 <device match="dtrace/*" />
72 73 <device match="dtrace/provider/*" />
73 74 <device match="eventfd" />
74 75 <device match="fd" />
75 76 <device match="full" />
76 77 <device match="inotify" />
77 78 <device match="ipnet" />
78 79 <device match="kstat" />
79 80 <device match="lo0" />
80 81 <device match="lofictl" />
81 82 <device match="lofi" />
82 83 <device match="log" />
83 84 <device match="logindmux" />
84 85 <device match="nsmb" />
85 86 <device match="net/*" />
86 87 <device match="null" />
87 88 <device match="openprom" arch="sparc" />
88 89 <device match="poll" />
89 90 <device match="pool" />
90 91 <device match="ptmx" />
91 92 <device match="pts/*" />
92 93 <device match="random" />
93 94 <device match="rdsk" />
94 95 <device match="rlofi" />
95 96 <device match="rmt" />
96 97 <device match="sad/user" />
97 98 <device match="smbsrv" />
98 99 <device match="signalfd" />
99 100 <device match="svvslo0" />
100 101 <device match="svvslo1" />
101 102 <device match="svvslo2" />
102 103 <device match="svvslo3" />
103 104 <device match="swap" />
104 105 <device match="sysevent" />
105 106 <device match="tap" />
106 107 <device match="tcp" />
107 108 <device match="tcp6" />
108 109 <device match="term" />
109 110 <device match="ticlts" />
110 111 <device match="ticots" />
111 112 <device match="ticotsord" />
112 113 <device match="timerfd" />
113 114 <device match="tty" />
114 115 <device match="tun" />
115 116 <device match="udp" />
116 117 <device match="udp6" />
117 118 <device match="urandom" />
118 119 <device match="vnd/*" />
119 120 <device match="zero" />
120 121 <device match="zfd/%z/slave/0" name="zfd/0" />
121 122 <device match="zfd/%z/slave/1" name="zfd/1" />
122 123 <device match="zfd/%z/slave/2" name="zfd/2" />
123 124 <device match="zfs" />
124 125 <device match="zvol/dsk/%P/%z/*" />
125 126 <device match="zvol/rdsk/%P/%z/*" />
126 127
127 128 <!-- Devices to create in exclusive IP zone only -->
128 129 <device match="dld" ip-type="exclusive" />
129 130 <device match="icmp" ip-type="exclusive" />
130 131 <device match="icmp6" ip-type="exclusive" />
131 132 <device match="ip" ip-type="exclusive" />
132 133 <device match="ip6" ip-type="exclusive" />
133 134 <device match="ipauth" ip-type="exclusive" />
134 135 <device match="ipd" ip-type="exclusive" />
135 136 <device match="ipf" ip-type="exclusive" />
136 137 <device match="ipl" ip-type="exclusive" />
137 138 <device match="iplookup" ip-type="exclusive" />
138 139 <device match="ipmpstub" ip-type="exclusive" />
139 140 <device match="ipnat" ip-type="exclusive" />
140 141 <device match="ipscan" ip-type="exclusive" />
141 142 <device match="ipsecah" ip-type="exclusive" />
142 143 <device match="ipsecesp" ip-type="exclusive" />
143 144 <device match="ipstate" ip-type="exclusive" />
144 145 <device match="ipsync" ip-type="exclusive" />
145 146 <device match="keysock" ip-type="exclusive" />
146 147 <device match="rawip" ip-type="exclusive" />
147 148 <device match="rawip6" ip-type="exclusive" />
148 149 <device match="rts" ip-type="exclusive" />
149 150 <device match="sad/admin" ip-type="exclusive" />
150 151 <device match="sctp" ip-type="exclusive" />
151 152 <device match="sctp6" ip-type="exclusive" />
152 153 <device match="spdsock" ip-type="exclusive" />
153 154 <device match="sppp" ip-type="exclusive" />
154 155 <device match="sppptun" ip-type="exclusive" />
155 156 <device match="vni" ip-type="exclusive" />
156 157
157 158 <!-- Renamed devices to create under /dev -->
158 159 <device match="zcons/%z/zoneconsole" name="zconsole" />
159 160
160 161 <!-- Symlinks to create under /dev -->
161 162 <symlink source="console" target="zconsole" />
162 163 <symlink source="dtremote" target="/dev/null" />
163 164 <symlink source="msglog" target="zconsole" />
164 165 <symlink source="stderr" target="./fd/2" />
165 166 <symlink source="stdin" target="./fd/0" />
166 167 <symlink source="stdout" target="./fd/1" />
167 168 <symlink source="syscon" target="zconsole" />
168 169 <symlink source="sysmsg" target="zconsole" />
169 170 <symlink source="systty" target="zconsole" />
170 171
171 172 </platform>
|
↓ open down ↓ |
108 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX