1 '\" te
   2 .\" Copyright 2008, Sun Microsystems, Inc. All Rights Reserved.
   3 .\" Copyright 2015 Nexenta Systems, Inc. All rights reserved. 
   4 .\" Copyright 1989 AT&T
   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.
   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.
   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]
   8 .TH INTRO 1M "Sep 8, 2015"
   9 .SH NAME
  10 Intro, intro \- introduction to maintenance commands and application programs
  11 .SH DESCRIPTION
  12 .sp
  13 .LP
  14 This section describes, in alphabetical order, commands that are used chiefly
  15 for system maintenance and administration purposes.
  16 .sp
  17 .LP
  18 Because of command restructuring for the Virtual File System architecture,
  19 there are several instances of multiple manual pages that begin with the same
  20 name. For example, the   \fBmount\fR, pages \(mi \fBmount\fR(1M),
  21 \fBmount_hsfs\fR(1M), \fBmount_nfs\fR(1M), \fBmount_tmpfs\fR(1M),
  22 and \fBmount_ufs\fR(1M). In each such case the first of the
  23 multiple pages describes the syntax and options of the generic command, that
  24 is, those options applicable to all FSTypes (file system types). The succeeding
  25 pages describe the functionality of the FSType-specific modules of the command.
  26 These pages list the command followed by an underscore ( _ ) and the FSType to
  27 which they pertain. Note that the administrator should not attempt to call
  28 these modules directly. The generic command provides a common interface to all
  29 of them. Thus the FSType-specific manual pages should not be viewed as
  30 describing distinct commands, but rather as detailing those aspects of a
  31 command that are specific to a particular FSType.
  32 .SH COMMAND SYNTAX
  33 .sp
  34 .LP
  35 Unless otherwise noted, commands described in this section accept options and
  36 other arguments according to the following syntax:
  37 .sp
  38 .in +2
  39 .nf
  40 \fIname\fR [\fIoption\fR(\fIs\fR)] [\fIcmdarg\fR(\fIs\fR)]
  41 .fi
  42 .in -2
  43 
  44 .sp
  45 .LP
  46 where:
  47 .sp
  48 .ne 2
  49 .na
  50 \fB\fIname\fR\fR
  51 .ad
  52 .RS 15n
  53 The name of an executable file.
  54 .RE
  55 
  56 .sp
  57 .ne 2
  58 .na
  59 \fB\fIoption\fR\fR
  60 .ad
  61 .RS 15n
  62 \fB\(mi\fR \fInoargletter\fR(\fIs\fR) or,
  63 .sp
  64 \fB\(mi\fR \fIargletter\fR<\|>\fIoptarg\fR
  65 .sp
  66 where <\|> is optional white space.
  67 .RE
  68 
  69 .sp
  70 .ne 2
  71 .na
  72 \fB\fInoargletter\fR\fR
  73 .ad
  74 .RS 15n
  75 A single letter representing an option without an argument.
  76 .RE
  77 
  78 .sp
  79 .ne 2
  80 .na
  81 \fB\fIargletter\fR\fR
  82 .ad
  83 .RS 15n
  84 A single letter representing an option requiring an argument.
  85 .RE
  86 
  87 .sp
  88 .ne 2
  89 .na
  90 \fB\fIoptarg\fR\fR
  91 .ad
  92 .RS 15n
  93 Argument (character string) satisfying preceding \fIargletter\fR.
  94 .RE
  95 
  96 .sp
  97 .ne 2
  98 .na
  99 \fB\fIcmdarg\fR\fR
 100 .ad
 101 .RS 15n
 102 Pathname (or other command argument) \fInot\fR beginning with \fB\(mi\fR or,
 103 \fB\(mi\fR by itself indicating the standard input.
 104 .RE
 105 
 106 .SH ATTRIBUTES
 107 .sp
 108 .LP
 109 See \fBattributes\fR(5) for a discussion of the attributes listed in this
 110 section.
 111 .SH ACKNOWLEDGMENTS
 112 .sp
 113 .LP
 114 Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to
 115 reproduce portions of its copyrighted documentation. Original documentation
 116 from The Open Group can be obtained online at
 117 http://www.opengroup.org/bookstore/\&.
 118 .sp
 119 .LP
 120 The Institute of Electrical and Electronics Engineers and The Open Group, have
 121 given us permission to reprint portions of their documentation.
 122 .sp
 123 .LP
 124 In the following statement, the phrase ``this text'' refers to portions of the
 125 system documentation.
 126 .sp
 127 .LP
 128 Portions of this text are reprinted and reproduced in electronic form in the
 129 SunOS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for
 130 Information Technology -- Portable Operating System Interface (POSIX), The Open
 131 Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of
 132 Electrical and Electronics Engineers, Inc and The Open Group.  In the event of
 133 any discrepancy between these versions and the original IEEE and The Open Group
 134 Standard, the original IEEE and The Open Group Standard is the referee
 135 document.  The original Standard can be obtained online at
 136 http://www.opengroup.org/unix/online.html\&.
 137 .sp
 138 .LP
 139 This notice shall appear on any product containing this material.
 140 .SH SEE ALSO
 141 .sp
 142 .LP
 143 \fBgetopt\fR(1), \fBgetopt\fR(3C), \fBattributes\fR(5)
 144 .SH DIAGNOSTICS
 145 .sp
 146 .LP
 147 Upon termination, each command returns 0 for normal termination and non-zero to
 148 indicate troubles such as erroneous parameters, bad or inaccessible data, or
 149 other inability to cope with the task at hand. It is called variously ``exit
 150 code,'' ``exit status,'' or ``return code,'' and is described only where
 151 special conventions are involved.
 152 .SH NOTES
 153 .sp
 154 .LP
 155 Unfortunately, not all commands adhere to the standard syntax.