Current File : //usr/share/lib/xml/dtd/zone_platform.dtd.1
<?xml version='1.0' encoding='UTF-8' ?>

<!--

 Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved.

 DO NOT EDIT THIS FILE.
-->

<!--
  device

    Defines a device (or set of devices) to be exported into the zone.

    Its attributes are

      match	Pattern to match under /dev.  Follows fnmatch(3c) rules.
		The following replacements are performed:
			%z	Name of zone

      name	Name of device in non-global zone.  This is optional; the
		default is the same name as the global zone.

      arch	Identifies devices only available for certain architectures.
		Can be "sparc" or "i386".

      ip-type	Optional, identifies devices only available for certain IP
		types. Can be "shared" or "exclusive". If it's not specified,
		the default value "all" will be used, which means it's
		available regardless the IP type.

    For example, the following entry:
	<device match="brand/windows/foo" name="bar" arch="sparc" />
    would result in mapping the following global zone device:
	/dev/brand/windows/foo
    into the zone (disregarding its IP type) as:
	/dev/bar
    but the mapping would only exist on sparc machines.

-->
<!ELEMENT device	EMPTY >

<!ATTLIST device	match	CDATA #REQUIRED
			name	CDATA ""
			arch	( sparc | i386 | all ) "all" 
			ip-type	( shared | exclusive | all ) "all" >

<!--
  symlink

    Defines a symlink to be created under /dev.

    Its attributes are

      source	Link source

      target	Link target
-->
<!ELEMENT symlink	EMPTY >

<!ATTLIST symlink	source	CDATA #REQUIRED
			target	CDATA #REQUIRED >

<!--
  global_mount

    Describes a filesystem that must be mounted before the zone is booted.
    This mount is performed by a thread executing in the the context of
    the global zone.

    Its attributes are

      special	The special device as used by the mount command.
		This path is relative to the global zone.
		The following replacements are performed:
			%R	Root of zone

      directory	The directory where it will be mounted.
		This path is relative to the non-global zone.

      type	The filesystem type
-->
<!ELEMENT global_mount	EMPTY >

<!ATTLIST global_mount	special		CDATA #REQUIRED
			directory	CDATA #REQUIRED
			opt		CDATA ""
			type		CDATA #REQUIRED>

<!--
  mount

    Describes a filesystem that must be mounted before the zone is booted.
    This mount is performed by a thread executing in the the context of
    the non-global zone.

    Its attributes are

      special	The special device as used by the mount command
		This path is relative to the non-global zone.

      directory	The directory where it will be mounted.
		This path is relative to the non-global zone.

      type	The filesystem type
-->
<!ELEMENT mount	EMPTY >

<!ATTLIST mount	special		CDATA #REQUIRED
				directory	CDATA #REQUIRED
				opt		CDATA ""
				type		CDATA #REQUIRED>

<!--
  dataset

    Describes a dataset that must be accessible before the zone is booted.
    This dataset is mounted by a thread executing in the the context of
    the global zone.

    Its attributes are

      name	The name of the dataset.
		This must reference an existing dataset.

-->
<!ELEMENT dataset	EMPTY >

<!ATTLIST dataset	name		CDATA #REQUIRED
			alias		CDATA "">


<!--
  platform

    The toplevel container for a virtual platform configuration.  The virtual
    platform describes the basic elements to bring up the necessary services
    (filesystems, devices, etc) to boot the zone.

    Its attributes are

      name	The name of the brand.  This must match the name of the
		directory in which this file is stored, as well as the name
		of the brand that refers to it.
-->
<!ELEMENT platform	(device | global_mount | mount | symlink | dataset)* >

<!ATTLIST platform	name			CDATA #REQUIRED>