19acbbeafSnn<?xml version='1.0' encoding='UTF-8' ?> 29acbbeafSnn 39acbbeafSnn<!-- 49acbbeafSnn CDDL HEADER START 59acbbeafSnn 69acbbeafSnn The contents of this file are subject to the terms of the 79acbbeafSnn Common Development and Distribution License (the "License"). 89acbbeafSnn You may not use this file except in compliance with the License. 99acbbeafSnn 109acbbeafSnn You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 119acbbeafSnn or http://www.opensolaris.org/os/licensing. 129acbbeafSnn See the License for the specific language governing permissions 139acbbeafSnn and limitations under the License. 149acbbeafSnn 159acbbeafSnn When distributing Covered Code, include this CDDL HEADER in each 169acbbeafSnn file and include the License file at usr/src/OPENSOLARIS.LICENSE. 179acbbeafSnn If applicable, add the following below this CDDL HEADER, with the 189acbbeafSnn fields enclosed by brackets "[]" replaced with your own identifying 199acbbeafSnn information: Portions Copyright [yyyy] [name of copyright owner] 209acbbeafSnn 219acbbeafSnn CDDL HEADER END 229acbbeafSnn 23*f4b3ec61Sdh Copyright 2007 Sun Microsystems, Inc. All rights reserved. 249acbbeafSnn Use is subject to license terms. 259acbbeafSnn 269acbbeafSnn ident "%Z%%M% %I% %E% SMI" 279acbbeafSnn 289acbbeafSnn DO NOT EDIT THIS FILE. 299acbbeafSnn--> 309acbbeafSnn 319acbbeafSnn<!-- 329acbbeafSnn device 339acbbeafSnn 349acbbeafSnn Defines a device (or set of devices) to be exported into the zone. 359acbbeafSnn 369acbbeafSnn Its attributes are 379acbbeafSnn 389acbbeafSnn match Pattern to match under /dev. Follows fnmatch(3c) rules. 399acbbeafSnn The following replacements are performed: 409acbbeafSnn %z Name of zone 419acbbeafSnn 429acbbeafSnn name Name of device in non-global zone. This is optional; the 439acbbeafSnn default is the same name as the global zone. 449acbbeafSnn 459acbbeafSnn arch Identifies devices only available for certain architectures. 469acbbeafSnn Can be "sparc" or "i386". 479acbbeafSnn 48*f4b3ec61Sdh ip-type Optional, identifies devices only available for certain IP 49*f4b3ec61Sdh types. Can be "shared" or "exclusive". If it's not specified, 50*f4b3ec61Sdh the default value "all" will be used, which means it's 51*f4b3ec61Sdh available regardless the IP type. 52*f4b3ec61Sdh 539acbbeafSnn For example, the following entry: 549acbbeafSnn <device match="brand/windows/foo" name="bar" arch="sparc" /> 559acbbeafSnn would result in mapping the following global zone device: 569acbbeafSnn /dev/brand/windows/foo 57*f4b3ec61Sdh into the zone (disregarding its IP type) as: 589acbbeafSnn /dev/bar 599acbbeafSnn but the mapping would only exist on sparc machines. 609acbbeafSnn 619acbbeafSnn--> 629acbbeafSnn<!ELEMENT device EMPTY > 639acbbeafSnn 649acbbeafSnn<!ATTLIST device match CDATA #REQUIRED 659acbbeafSnn name CDATA "" 66*f4b3ec61Sdh arch ( sparc | i386 ) "all" 67*f4b3ec61Sdh ip-type ( shared | exclusive ) "all" > 689acbbeafSnn 699acbbeafSnn<!-- 709acbbeafSnn symlink 719acbbeafSnn 729acbbeafSnn Defines a symlink to be created under /dev. 739acbbeafSnn 749acbbeafSnn Its attributes are 759acbbeafSnn 769acbbeafSnn source Link source 779acbbeafSnn 789acbbeafSnn target Link target 799acbbeafSnn--> 809acbbeafSnn<!ELEMENT symlink EMPTY > 819acbbeafSnn 829acbbeafSnn<!ATTLIST symlink source CDATA #REQUIRED 839acbbeafSnn target CDATA #REQUIRED > 849acbbeafSnn 859acbbeafSnn<!-- 869acbbeafSnn global_mount 879acbbeafSnn 889acbbeafSnn Describes a filesystem that must be mounted before the zone is booted. 899acbbeafSnn This mount is performed by a thread executing in the the context of 909acbbeafSnn the global zone. 919acbbeafSnn 929acbbeafSnn Its attributes are 939acbbeafSnn 949acbbeafSnn special The special device as used by the mount command. 959acbbeafSnn This path is relative to the global zone. 969acbbeafSnn The following replacements are performed: 979acbbeafSnn %R Root of zone 989acbbeafSnn 999acbbeafSnn directory The directory where it will be mounted. 1009acbbeafSnn This path is relative to the non-global zone. 1019acbbeafSnn 1029acbbeafSnn type The filesystem type 1039acbbeafSnn--> 1049acbbeafSnn<!ELEMENT global_mount EMPTY > 1059acbbeafSnn 1069acbbeafSnn<!ATTLIST global_mount special CDATA #REQUIRED 1079acbbeafSnn directory CDATA #REQUIRED 1089acbbeafSnn opt CDATA "" 1099acbbeafSnn type CDATA #REQUIRED> 1109acbbeafSnn 1119acbbeafSnn<!-- 1129acbbeafSnn mount 1139acbbeafSnn 1149acbbeafSnn Describes a filesystem that must be mounted before the zone is booted. 1159acbbeafSnn This mount is performed by a thread executing in the the context of 1169acbbeafSnn the non-global zone. 1179acbbeafSnn 1189acbbeafSnn Its attributes are 1199acbbeafSnn 1209acbbeafSnn special The special device as used by the mount command 1219acbbeafSnn This path is relative to the non-global zone. 1229acbbeafSnn 1239acbbeafSnn directory The directory where it will be mounted. 1249acbbeafSnn This path is relative to the non-global zone. 1259acbbeafSnn 1269acbbeafSnn type The filesystem type 1279acbbeafSnn--> 1289acbbeafSnn<!ELEMENT mount EMPTY > 1299acbbeafSnn 1309acbbeafSnn<!ATTLIST mount special CDATA #REQUIRED 1319acbbeafSnn directory CDATA #REQUIRED 1329acbbeafSnn opt CDATA "" 1339acbbeafSnn type CDATA #REQUIRED> 1349acbbeafSnn 1359acbbeafSnn<!-- 1369acbbeafSnn platform 1379acbbeafSnn 1389acbbeafSnn The toplevel container for a virtual platform configuration. The virtual 1399acbbeafSnn platform describes the basic elements to bring up the necessary services 1409acbbeafSnn (filesystems, devices, etc) to boot the zone. 1419acbbeafSnn 1429acbbeafSnn Its attributes are 1439acbbeafSnn 1449acbbeafSnn name The name of the brand. This must match the name of the 1459acbbeafSnn directory in which this file is stored, as well as the name 1469acbbeafSnn of the brand that refers to it. 147*f4b3ec61Sdh allow-exclusive-ip Whether the zones of this brand can have their 148*f4b3ec61Sdh own exclusive IP stack. It is a boolean value. 1499acbbeafSnn--> 1509acbbeafSnn<!ELEMENT platform (device | global_mount | mount | symlink)* > 1519acbbeafSnn 152*f4b3ec61Sdh<!ATTLIST platform name CDATA #REQUIRED 153*f4b3ec61Sdh allow-exclusive-ip (true | false) #REQUIRED> 154