Print this page
6198 Let's EOL cachefs

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/automount.1m
          +++ new/usr/src/man/man1m/automount.1m
   1    1  '\" te
   2    2  .\" Copyright 1989 AT&T
   3    3  .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved
        4 +.\" Copyright 2015 Nexenta Systems, Inc. All rights reserved.
   4    5  .\" 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.
   5    6  .\" 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.
   6    7  .\" 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]
   7      -.TH AUTOMOUNT 1M "Mar 28, 2008"
        8 +.TH AUTOMOUNT 1M "Sep 8, 2015"
   8    9  .SH NAME
   9   10  automount \- install automatic mount points
  10   11  .SH SYNOPSIS
  11   12  .LP
  12   13  .nf
  13   14  \fB/usr/sbin/automount\fR [\fB-t\fR \fIduration\fR] [\fB-v\fR]
  14   15  .fi
  15   16  
  16   17  .SH DESCRIPTION
  17   18  .sp
↓ open down ↓ 116 lines elided ↑ open up ↑
 134  135  .fi
 135  136  .in -2
 136  137  .sp
 137  138  
 138  139  .sp
 139  140  .LP
 140  141  where \fBkey\fR is the full pathname of the directory to mount when used in a
 141  142  direct map, or the simple name of a subdirectory in an indirect map.
 142  143  \fImount-options\fR is a comma-separated list of \fBmount\fR options, and
 143  144  \fIlocation\fR specifies a file system from which the directory may be mounted.
 144      -In the case of a simple \fBNFS\fR mount, the options that can be used are as
      145 +In the case of a simple \fBNFS\fR mount, the options that can be used are
 145  146  specified in \fBmount_nfs\fR(1M), and \fIlocation\fR takes the form:
 146  147  .sp
 147  148  .in +2
 148  149  .nf
 149  150  \fIhost\fR\fB:\|\fR\fIpathname\fR
 150  151  .fi
 151  152  .in -2
 152  153  .sp
 153  154  
 154  155  .sp
 155  156  .LP
 156  157  \fIhost\fR is the name of the host from which to mount the file system, and
 157  158  \fIpathname\fR is the absolute pathname of the directory to mount.
 158  159  .sp
 159  160  .LP
 160      -Options to other file systems are documented on the other \fBmount_*\fR
 161      -reference manual pages, for example, \fBmount_cachefs\fR(1M).
      161 +Options to other file systems are documented in the other \fBmount_*\fR
      162 +reference manual pages.
 162  163  .SS "Replicated File Systems"
 163  164  .sp
 164  165  .LP
 165  166  Multiple \fIlocation\fR fields can be specified for replicated \fBNFS\fR file
 166  167  systems, in which case \fBautomount\fR and the kernel will each try to use that
 167  168  information to increase availability. If the read-only flag is set in the map
 168  169  entry, \fBautomountd\fR mounts a list of locations that the kernel may use,
 169  170  sorted by several criteria. Only locations available at mount time will be
 170  171  mounted, and thus be available to the kernel. When a server does not respond,
 171  172  the kernel will switch to an alternate server. The sort ordering of
↓ open down ↓ 224 lines elided ↑ open up ↑
 396  397  \fBsrc\fR \fB-fstype\fR\fB=autofs    auto_src\fR
 397  398  .fi
 398  399  .in -2
 399  400  .sp
 400  401  
 401  402  .sp
 402  403  .LP
 403  404  Use this procedure only if you are not using Volume Manager.
 404  405  .sp
 405  406  .LP
 406      -Mounts using CacheFS are most useful when applied to an entire map as map
 407      -defaults. The following entry in the master map describes cached home directory
 408      -mounts. It assumes the default location of the cache directory, \fB/cache\fR.
 409      -.sp
 410      -.in +2
 411      -.nf
 412      -\fB/home auto_home\fR \fB-fstype\fR \fB=cachefs,backfstype=nfs\fR
 413      -.fi
 414      -.in -2
 415      -.sp
 416      -
 417      -.sp
 418      -.LP
 419  407  See the  \fBNOTES\fR section for information on option inheritance.
 420  408  .SS "Indirect Maps"
 421  409  .sp
 422  410  .LP
 423  411  An indirect map allows you to specify mappings for the subdirectories you wish
 424  412  to mount under the \fBdirectory\fR indicated on the command line. In an
 425  413  indirect map, each \fBkey\fR consists of a simple name that refers to one or
 426  414  more file systems that are to be mounted as needed.
 427  415  .SS "Direct Maps"
 428  416  .sp
↓ open down ↓ 195 lines elided ↑ open up ↑
 624  612  \fB\fB/etc/nsswitch.conf\fR\fR
 625  613  .ad
 626  614  .RS 23n
 627  615  Name service switch configuration file. See \fBnsswitch.conf\fR(4).
 628  616  .RE
 629  617  
 630  618  .SH SEE ALSO
 631  619  .sp
 632  620  .LP
 633  621  \fBisainfo\fR(1), \fBls\fR(1), \fBsvcs\fR(1), \fBuname\fR(1),
 634      -\fBautomountd\fR(1M), \fBmount\fR(1M), \fBmount_cachefs\fR( 1M),
 635      -\fBmount_nfs\fR(1M), \fBsvcadm\fR(1M), \fBautofs\fR(4), \fBattributes\fR(5),
      622 +\fBautomountd\fR(1M), \fBmount\fR(1M), \fBmount_nfs\fR(1M),
      623 +\fBsvcadm\fR(1M), \fBautofs\fR(4), \fBattributes\fR(5),
 636  624  \fBnfssec\fR(5), \fBsmf\fR(5)
 637  625  .sp
 638  626  .LP
 639  627  \fI\fR
 640  628  .SH NOTES
 641  629  .sp
 642  630  .LP
 643  631  \fBautofs\fR mount points must not be hierarchically related. \fBautomount\fR
 644  632  does not allow an \fBautofs\fR mount point to be created within another
 645  633  \fBautofs\fR mount.
↓ open down ↓ 55 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX