Print this page
    
11083 support NFS server in zone
Portions contributed by: Dan Kruchinin <dan.kruchinin@nexenta.com>
Portions contributed by: Stepan Zastupov <stepan.zastupov@gmail.com>
Portions contributed by: Joyce McIntosh <joyce.mcintosh@nexenta.com>
Portions contributed by: Mike Zeller <mike@mikezeller.net>
Portions contributed by: Dan McDonald <danmcd@joyent.com>
Portions contributed by: Gordon Ross <gordon.w.ross@gmail.com>
Portions contributed by: Vitaliy Gusev <gusev.vitaliy@gmail.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Jason King <jbk@joyent.com>
Reviewed by: C Fraire <cfraire@me.com>
Change-Id: I22f289d357503f9b48a0bc2482cc4328a6d43d16
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/lib/brand/ipkg/zone/platform.xml
          +++ new/usr/src/lib/brand/ipkg/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
  
    | 
      ↓ open down ↓ | 
    12 lines elided | 
    
      ↑ open up ↑ | 
  
  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      - Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  24   23   Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
       24 + Copyright 2018 Nexenta Systems, Inc.
  25   25  
  26   26   DO NOT EDIT THIS FILE.
  27   27  -->
  28   28  
  29   29  <!DOCTYPE platform PUBLIC "-//Sun Microsystems Inc//Zones Platform//EN"
  30   30      "file:///usr/share/lib/xml/dtd/zone_platform.dtd.1">
  31   31  
  32   32  <platform name="ipkg" allow-exclusive-ip="true">
  33   33  
  34   34          <!-- Global filesystems to mount when booting the zone -->
  35   35          <global_mount special="/dev" directory="/dev" type="dev"
  36   36              opt="attrdir=%R/root/dev"/>
  37   37  
  38   38          <!-- Local filesystems to mount when booting the zone -->
  39   39          <mount special="/proc" directory="/proc" type="proc" />
  40   40          <mount special="ctfs" directory="/system/contract" type="ctfs" />
  41   41          <mount special="mnttab" directory="/etc/mnttab" type="mntfs" />
  42   42          <mount special="objfs" directory="/system/object" type="objfs" />
  43   43          <mount special="swap" directory="/etc/svc/volatile" type="tmpfs" />
       44 +        <mount special="sharefs" directory="/etc/dfs/sharetab" type="sharefs" />
  44   45  
  45   46          <!-- Devices to create under /dev -->
  46   47          <device match="arp" />
  47   48          <device match="bpf" />
  48   49          <device match="conslog" />
  49   50          <device match="cpu/self/cpuid" />
  50   51          <device match="crypto" />
  51   52          <device match="cryptoadm" />
  52   53          <device match="dsk" />
  53   54          <device match="dtrace/*" />
  54   55          <device match="dtrace/provider/*" />
  55   56          <device match="eventfd" />
  56   57          <device match="fd" />
  57   58          <device match="full" />
  58   59          <device match="ipnet" />
  59   60          <device match="kstat" />
  60   61          <device match="lo0" />
  61   62          <device match="lofictl" />
  62   63          <device match="lofi" />
  63   64          <device match="log" />
  64   65          <device match="logindmux" />
  65   66          <device match="nsmb" />
  66   67          <device match="net/*" />
  67   68          <device match="null" />
  68   69          <device match="openprom" arch="sparc" />
  69   70          <device match="poll" />
  70   71          <device match="pool" />
  71   72          <device match="ptmx" />
  72   73          <device match="pts/*" />
  73   74          <device match="random" />
  74   75          <device match="rdsk" />
  75   76          <device match="rlofi" />
  76   77          <device match="rmt" />
  77   78          <device match="sad/user" />
  78   79          <device match="smbsrv" />
  79   80          <device match="svvslo0" />
  80   81          <device match="svvslo1" />
  81   82          <device match="svvslo2" />
  82   83          <device match="svvslo3" />
  83   84          <device match="swap" />
  84   85          <device match="sysevent" />
  85   86          <device match="tcp" />
  86   87          <device match="tcp6" />
  87   88          <device match="term" />
  88   89          <device match="ticlts" />
  89   90          <device match="ticots" />
  90   91          <device match="ticotsord" />
  91   92          <device match="tty" />
  92   93          <device match="udp" />
  93   94          <device match="udp6" />
  94   95          <device match="urandom" />
  95   96          <device match="zero" />
  96   97          <device match="zfs" />
  97   98  
  98   99          <!-- Devices to create in exclusive IP zone only -->
  99  100          <device match="dld" ip-type="exclusive" />
 100  101          <device match="icmp" ip-type="exclusive" />
 101  102          <device match="icmp6" ip-type="exclusive" />
 102  103          <device match="ip" ip-type="exclusive" />
 103  104          <device match="ip6" ip-type="exclusive" />
 104  105          <device match="ipauth" ip-type="exclusive" />
 105  106          <device match="ipf" ip-type="exclusive" />
 106  107          <device match="ipl" ip-type="exclusive" />
 107  108          <device match="iplookup" ip-type="exclusive" />
 108  109          <device match="ipmpstub" ip-type="exclusive" />
 109  110          <device match="ipnat" ip-type="exclusive" />
 110  111          <device match="ipscan" ip-type="exclusive" />
 111  112          <device match="ipsecah" ip-type="exclusive" />
 112  113          <device match="ipsecesp" ip-type="exclusive" />
 113  114          <device match="ipstate" ip-type="exclusive" />
 114  115          <device match="ipsync" ip-type="exclusive" />
 115  116          <device match="keysock" ip-type="exclusive" />
 116  117          <device match="rawip" ip-type="exclusive" />
 117  118          <device match="rawip6" ip-type="exclusive" />
 118  119          <device match="rts" ip-type="exclusive" />
 119  120          <device match="sad/admin" ip-type="exclusive" />
 120  121          <device match="sctp" ip-type="exclusive" />
 121  122          <device match="sctp6" ip-type="exclusive" />
 122  123          <device match="spdsock" ip-type="exclusive" />
 123  124          <device match="sppp" ip-type="exclusive" />
 124  125          <device match="sppptun" ip-type="exclusive" />
 125  126          <device match="vni" ip-type="exclusive" />
 126  127  
 127  128          <!-- Renamed devices to create under /dev -->
 128  129          <device match="zcons/%z/zoneconsole" name="zconsole" />
 129  130  
 130  131          <!-- Symlinks to create under /dev -->
 131  132          <symlink source="console" target="zconsole" />
 132  133          <symlink source="dtremote" target="/dev/null" />
 133  134          <symlink source="msglog" target="zconsole" />
 134  135          <symlink source="stderr" target="./fd/2" />
 135  136          <symlink source="stdin" target="./fd/0" />
 136  137          <symlink source="stdout" target="./fd/1" />
 137  138          <symlink source="syscon" target="zconsole" />
 138  139          <symlink source="sysmsg" target="zconsole" />
 139  140          <symlink source="systty" target="zconsole" />
 140  141  
 141  142  </platform>
  
    | 
      ↓ open down ↓ | 
    88 lines elided | 
    
      ↑ open up ↑ | 
  
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX