view usr/src/lib/brand/native/zone/platform.xml @ 10639:368f1335a058

PSARC/2009/232 Solaris Packet Capture PSARC/2009/403 kstats for ipnet 6824047 every downcall function should have a "notsupported" function 6822740 RFE: provide PF_PACKET for developers on OpenSolaris 6822741 RFE: Solaris needs BPF to improve the packet capture story 6867683 RFE: need to be able to retrieve physical interface flags
author Darren Reed <Darren.Reed@Sun.COM>
date Thu, 24 Sep 2009 07:28:12 -0700
parents 3be00c4a6835
children 2d6e217af1b4
line wrap: on
line source

<?xml version="1.0"?>

<!--
 CDDL HEADER START

 The contents of this file are subject to the terms of the
 Common Development and Distribution License (the "License").
 You may not use this file except in compliance with the License.

 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 or http://www.opensolaris.org/os/licensing.
 See the License for the specific language governing permissions
 and limitations under the License.

 When distributing Covered Code, include this CDDL HEADER in each
 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
 If applicable, add the following below this CDDL HEADER, with the
 fields enclosed by brackets "[]" replaced with your own identifying
 information: Portions Copyright [yyyy] [name of copyright owner]

 CDDL HEADER END

 Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 Use is subject to license terms.

 DO NOT EDIT THIS FILE.
-->

<!DOCTYPE platform PUBLIC "-//Sun Microsystems Inc//Zones Platform//EN"
    "file:///usr/share/lib/xml/dtd/zone_platform.dtd.1">

<platform name="native" allow-exclusive-ip="true">

	<!-- Global filesystems to mount when booting the zone -->
	<global_mount special="/dev" directory="/dev" type="dev"
	    opt="attrdir=%R/dev"/>

	<!-- Local filesystems to mount when booting the zone -->
	<mount special="/proc" directory="/proc" type="proc" />
	<mount special="ctfs" directory="/system/contract" type="ctfs" />
	<mount special="mnttab" directory="/etc/mnttab" type="mntfs" />
	<mount special="objfs" directory="/system/object" type="objfs" />
	<mount special="swap" directory="/etc/svc/volatile" type="tmpfs" />

	<!-- Devices to create under /dev -->
	<device match="arp" />
	<device match="bpf" />
	<device match="conslog" />
	<device match="cpu/self/cpuid" />
	<device match="crypto" />
	<device match="cryptoadm" />
	<device match="dsk" />
	<device match="dtrace/*" />
	<device match="dtrace/provider/*" />
	<device match="fd" />
	<device match="ipnet" />
	<device match="kstat" />
	<device match="lo0" />
	<device match="log" />
	<device match="logindmux" />
	<device match="nsmb" />
	<device match="net/*" />
	<device match="null" />
	<device match="openprom" arch="sparc" />
	<device match="poll" />
	<device match="pool" />
	<device match="ptmx" />
	<device match="pts/*" />
	<device match="random" />
	<device match="rdsk" />
	<device match="rmt" />
	<device match="sad/user" />
	<device match="svvslo0" />
	<device match="svvslo1" />
	<device match="svvslo2" />
	<device match="svvslo3" />
	<device match="swap" />
	<device match="sysevent" />
	<device match="tcp" />
	<device match="tcp6" />
	<device match="term" />
	<device match="ticlts" />
	<device match="ticots" />
	<device match="ticotsord" />
	<device match="tty" />
	<device match="udp" />
	<device match="udp6" />
	<device match="urandom" />
	<device match="zero" />
	<device match="zfs" />

	<!-- Devices to create in exclusive IP zone only -->
	<device match="dld" ip-type="exclusive" />
	<device match="icmp" ip-type="exclusive" />
	<device match="icmp6" ip-type="exclusive" />
	<device match="ip" ip-type="exclusive" />
	<device match="ip6" ip-type="exclusive" />
	<device match="ipauth" ip-type="exclusive" />
	<device match="ipf" ip-type="exclusive" />
	<device match="ipl" ip-type="exclusive" />
	<device match="iplookup" ip-type="exclusive" />
	<device match="ipmpstub" ip-type="exclusive" />
	<device match="ipnat" ip-type="exclusive" />
	<device match="ipscan" ip-type="exclusive" />
	<device match="ipsecah" ip-type="exclusive" />
	<device match="ipsecesp" ip-type="exclusive" />
	<device match="ipstate" ip-type="exclusive" />
	<device match="ipsync" ip-type="exclusive" />
	<device match="iptunq" ip-type="exclusive" />
	<device match="keysock" ip-type="exclusive" />
	<device match="rawip" ip-type="exclusive" />
	<device match="rawip6" ip-type="exclusive" />
	<device match="rts" ip-type="exclusive" />
	<device match="sad/admin" ip-type="exclusive" />
	<device match="sctp" ip-type="exclusive" />
	<device match="sctp6" ip-type="exclusive" />
	<device match="spdsock" ip-type="exclusive" />
	<device match="sppp" ip-type="exclusive" />
	<device match="sppptun" ip-type="exclusive" />

	<!-- Renamed devices to create under /dev -->
	<device match="zcons/%z/zoneconsole" name="zconsole" />

	<!-- Symlinks to create under /dev -->
	<symlink source="console" target="zconsole" />
	<symlink source="dtremote" target="/dev/null" />
	<symlink source="msglog" target="zconsole" />
	<symlink source="stderr" target="./fd/2" />
	<symlink source="stdin" target="./fd/0" />
	<symlink source="stdout" target="./fd/1" />
	<symlink source="syscon" target="zconsole" />
	<symlink source="sysmsg" target="zconsole" />
	<symlink source="systty" target="zconsole" />

</platform>