usr/src/man/aimanifest.1m
author Ethan Quach <Ethan.Quach@oracle.com>
Mon, 07 May 2012 15:52:37 -0700
changeset 1669 5889a0b7b4d6
parent 1367 a5c349640e79
child 1763 ca9c641c8ec7
permissions -rw-r--r--
7163807 Need to sync up manpages in the slim_source gate
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1367
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
     1
'\" te
1669
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
     2
.\" Copyright (c) 2011, 2012, Oracle and/or its
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
     3
.\" affiliates. All rights reserved.
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
     4
.TH aimanifest 1M "04 May 2012" "SunOS 5.11" "System Administration Commands"
1367
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
     5
.SH NAME
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
     6
aimanifest \- Modify an XML file used by Automated Installer (AI)
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
     7
.SH SYNOPSIS
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
     8
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
     9
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    10
/usr/bin/aimanifest [-h]
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    11
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    12
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    13
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    14
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    15
aimanifest add [-r] \fIpath\fR \fIvalue\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    16
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    17
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    18
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    19
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    20
aimanifest get [-r] \fIpath\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    21
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    22
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    23
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    24
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    25
aimanifest set [-r] \fIpath\fR \fIvalue\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    26
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    27
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    28
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    29
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    30
aimanifest load [-i] \fIfilename\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    31
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    32
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    33
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    34
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    35
aimanifest validate
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    36
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    37
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    38
.SH DESCRIPTION
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    39
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    40
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    41
The \fBaimanifest\fR command creates a new XML manifest or modifies an existing one. While \fBaimanifest\fR can be used with any XML file that contains a valid \fB!DOCTYPE\fR reference to a DTD definition, it is intended for creating derived manifests used by the Automated Installer (AI). See \fIInstalling Oracle Solaris 11 Systems\fR for information about AI derived manifests.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    42
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    43
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    44
The \fBaimanifest\fR command can be invoked multiple times to develop a manifest. The \fBAIM_MANIFEST\fR environment variable specifies the location of the manifest for \fBaimanifest\fR to modify. \fBAIM_MANIFEST\fR must be set. Each invocation of the \fBaimanifest\fR command with the \fBload\fR, \fBadd\fR, or \fBset\fR subcommand opens, modifies, and saves the \fBAIM_MANIFEST\fR file.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    45
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    46
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    47
The minimum \fBAIM_MANIFEST\fR file that the \fBaimanifest\fR command can modify must contain both of the following pieces:
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    48
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    49
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    50
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    51
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    52
A \fB!DOCTYPE\fR reference to a DTD that is valid for the XML manifest being developed.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    53
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    54
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    55
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    56
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    57
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    58
The root element for this manifest.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    59
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    60
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    61
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    62
If you start with an empty \fBAIM_MANIFEST\fR file, as when AI is executing a derived manifests script, then the first \fBaimanifest\fR command must specify the \fBload\fR subcommand to load at least the minimum required \fBAIM_MANIFEST\fR file. Subsequent \fBaimanifest\fR commands that modify the manifest use the DTD to determine where to add elements in the developing manifest.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    63
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    64
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    65
To save error and informational messages to a file in addition to displaying messages to \fBstdout\fR and \fBstderr\fR, set the \fBAIM_LOGFILE\fR environment variable to a log file location. Information is appended to the log file. The log file is not cleared.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    66
.SH OPTIONS
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    67
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    68
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    69
The \fBaimanifest\fR command has the following option:
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    70
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    71
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    72
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    73
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    74
\fB\fB-h\fR, \fB--help\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    75
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    76
.RS 14n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    77
.rt  
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    78
Show the usage help message.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    79
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    80
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    81
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    82
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    83
The \fBadd\fR, \fBget\fR, and \fBset\fR subcommands of the \fBaimanifest\fR command have the following option:
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    84
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    85
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    86
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    87
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    88
\fB\fB-r\fR, \fB--return-path\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    89
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    90
.RS 21n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    91
.rt  
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    92
Return the path of the XML element that this \fBaimanifest\fR command creates or operates on. This returned path is a chain of node IDs. You can save this returned path value to use in subsequent calls to \fBaimanifest\fR. Using the path returned by the \fB-r\fR option is more reliable than specifying the path using XML element and attribute values, since the values can change as the AI manifest is being built. See the "Return Paths" section for more information about the path returned by the \fB-r\fR option.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    93
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    94
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    95
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    96
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    97
The \fBload\fR subcommand of the \fBaimanifest\fR command has the following option:
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    98
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
    99
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   100
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   101
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   102
\fB\fB-i\fR, \fB--incremental\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   103
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   104
.RS 21n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   105
.rt  
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   106
Do not clear the \fBAIM_MANIFEST\fR data before adding new data.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   107
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   108
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   109
.SH SUB-COMMANDS
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   110
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   111
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   112
The following subcommands are supported:
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   113
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   114
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   115
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   116
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   117
\fB\fBadd [\fB-r\fR | \fB--return-path\fR] \fIpath\fR \fIvalue\fR\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   118
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   119
.sp .6
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   120
.RS 4n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   121
Add a new element to an XML manifest. Add the new element at \fIpath\fR and with value \fIvalue\fR. See the "Operands" section for more information about \fIpath\fR. If \fIpath\fR ends in an attribute (\fB@\fIattr\fR\fR), then the new element has the \fIattr\fR attribute, and \fIvalue\fR is the value of the attribute.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   122
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   123
No validation is performed except to examine parent/child relationships in \fIpath\fR.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   124
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   125
The \fB-r\fR option returns a path to the newly-added node. See the "Return Paths" section for more information.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   126
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   127
If the parent path matches an element in the \fBAIM_MANIFEST\fR file, it must match only one element. The new element is created as a child of the matching parent element. The path can specify element and attribute values to match a unique parent element, as shown in "Example 2: Path With a Value" in this section.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   128
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   129
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   130
If the parent path does not match an element in the \fBAIM_MANIFEST\fR file, new elements are created as necessary, and the new child element is added to the new parent. The path to an added element is split off from the preexisting elements according to the following rules:
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   131
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   132
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   133
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   134
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   135
The split occurs after all parts of the path that specify a value.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   136
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   137
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   138
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   139
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   140
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   141
The split occurs at the first place where multiple relevant same-tagged elements are allowed by the DTD, after all parts of the path that specify a value.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   142
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   143
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   144
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   145
Use this XML manifest schema to analyze the following examples:
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   146
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   147
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   148
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   149
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   150
The manifest begins with a single A node.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   151
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   152
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   153
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   154
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   155
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   156
The A node can have only one B node child.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   157
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   158
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   159
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   160
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   161
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   162
The B node can have multiple C node children.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   163
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   164
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   165
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   166
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   167
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   168
A C node can have multiple D node children.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   169
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   170
\fBExample 1: Simple Path\fR. The AI manifest has one A node, one B node, and one C node: \fB/A/B/C\fR. An \fBadd\fR subcommand is issued with a \fIpath\fR of \fB/A/B/C/D\fR. In this case, a new C node is created because C nodes are the first nodes along the path that can have same-tagged siblings. A new D node is added as a child to the new C node. The resulting manifest has the structure \fB/A/B/{C,C/D}\fR. Issuing the same command for a different value of D results in three C nodes: \fB/A/B/{C,C/D,C/D}\fR.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   171
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   172
\fBExample 2: Path With a Value\fR. The AI manifest has one A node, one B node, and two C nodes. Only one of the C nodes has a value of 1 so that the manifest has the structure \fB/A/B/{C,C=1}\fR. An \fBadd\fR subcommand is issued with a \fIpath\fR of \fB/A/B/C=1/D\fR and a \fIvalue\fR of 10. In this case, no new C node is added because specifying the value of 1 for C identifies a unique node, and the path cannot be split at or before a branch where a value is specified. The first place where this path can be split is at D. A new D node with a value of 10 is added as a child of the C node that has a value of 1. The resulting manifest has the structure \fB/A/B/{C,C=1/D=10}\fR. Issuing the same command with a value of 20 for D results in \fB/A/B/{C,C=1/{D=10,D=20}}\fR.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   173
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   174
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   175
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   176
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   177
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   178
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   179
\fB\fBget [\fB-r\fR | \fB--return-path\fR] \fIpath\fR\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   180
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   181
.sp .6
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   182
.RS 4n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   183
Retrieve an element or attribute value. An empty string (\fB""\fR) is displayed for empty element or attribute values. The \fIpath\fR must match a unique existing element or attribute. See the "Operands" section for more information about \fIpath\fR.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   184
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   185
The \fB-r\fR option returns a path to the accessed node as a second returned string. See the "Return Paths" section for more information.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   186
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   187
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   188
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   189
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   190
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   191
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   192
\fB\fBset [\fB-r\fR | \fB--return-path\fR] \fIpath\fR \fIvalue\fR\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   193
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   194
.sp .6
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   195
.RS 4n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   196
Change the value of an existing element or attribute, or create a new attribute of an existing element. No validation is performed.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   197
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   198
When changing the value of an existing element, \fIpath\fR must match a unique existing element. If the element has same-tagged siblings, use an element value or attribute, or a child element of the target element to make the path unique. See "The Path Operand" section.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   199
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   200
When setting the value of an attribute, the attribute does not need to exist, but the element to which the attribute belongs must exist.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   201
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   202
The \fB-r\fR option returns a path to the changed element. See the "Return Paths" section for more information.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   203
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   204
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   205
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   206
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   207
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   208
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   209
\fB\fBload [\fB-i\fR | \fB--incremental\fR] \fIfilename\fR\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   210
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   211
.sp .6
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   212
.RS 4n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   213
Load an XML manifest or partial XML manifest from the file \fIfilename\fR. No validation is performed except to examine parent/child relationships of elements.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   214
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   215
When the \fB-i\fR option is not specified, overwrite any existing XML data. All data in the \fBAIM_MANIFEST\fR file is replaced with the contents of the \fIfilename\fR file. The \fIfilename\fR file must include a \fB!DOCTYPE\fR reference to a DTD so that subsequent \fBaimanifest\fR commands can modify the file.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   216
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   217
When the \fB-i\fR option is specified, do not clear the \fBAIM_MANIFEST\fR data before adding new data. Instead, incrementally insert or merge the new data with the existing XML data. The DTD given by the \fB!DOCTYPE\fR reference in \fBAIM_MANIFEST\fR is used to determine how and where to merge the \fIfilename\fR data. If the \fB!DOCTYPE\fR reference is missing, the AI manifest DTD at \fB/usr/share/install/ai.dtd\fR is used. If the data in \fIfilename\fR cannot be reconciled with the DTD, a non-zero error status is returned.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   218
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   219
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   220
The following considerations affect where new data is inserted into the \fBAIM_MANIFEST\fR manifest:
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   221
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   222
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   223
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   224
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   225
To what extent the tags of elements near the beginning of the \fBAIM_MANIFEST\fR data paths and \fIfilename\fR data paths match
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   226
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   227
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   228
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   229
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   230
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   231
What child elements are allowed under those \fBAIM_MANIFEST\fR data elements
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   232
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   233
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   234
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   235
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   236
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   237
Where same-tagged sibling elements are allowed
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   238
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   239
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   240
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   241
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   242
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   243
Where childless \fBAIM_MANIFEST\fR data nodes are located
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   244
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   245
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   246
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   247
As each element of \fIfilename\fR data is processed, if all of the following conditions are true, then in general a new node is not created for this element in the \fBAIM_MANIFEST\fR data. Instead, an existing node is replaced with the new data.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   248
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   249
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   250
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   251
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   252
Both sets of data contain a node with the same tag and same location.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   253
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   254
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   255
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   256
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   257
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   258
The DTD given by the \fB!DOCTYPE\fR reference in \fBAIM_MANIFEST\fR does not allow both of these nodes to exist together as same-tagged sibling elements.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   259
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   260
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   261
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   262
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   263
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   264
The \fIfilename\fR data element has children.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   265
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   266
When an element from \fIfilename\fR is inserted, the split where new nodes start to be created is done as close as possible to the \fBAIM_MANIFEST\fR data root. The first new node of the split is created at the earliest point where same-tagged sibling elements are allowed, or at the earliest appropriate point when no same-tagged element exists in \fBAIM_MANIFEST\fR.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   267
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   268
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   269
Use this XML manifest schema to analyze the following examples:
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   270
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   271
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   272
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   273
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   274
The manifest begins with a single A node.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   275
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   276
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   277
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   278
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   279
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   280
The A node can have only one B node child.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   281
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   282
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   283
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   284
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   285
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   286
The B node can have multiple C node children.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   287
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   288
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   289
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   290
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   291
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   292
The B node can have only one E node child.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   293
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   294
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   295
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   296
\fBExample 1: Inserting Same-Tagged Elements\fR. If the content of \fBAIM_MANIFEST\fR is \fB/A/B/C1/D1\fR and the content of \fIfilename\fR is \fB/A/B/C2/D2\fR, then after the \fBload -i\fR command, the content of the \fBAIM_MANIFEST\fR file is \fB/A/B/{C1/D1,C2/D2}\fR. The C node is the first place where new nodes can be added. The C node from the \fIfilename\fR data is added after the existing C node in the \fBAIM_MANIFEST\fR data. If the two A elements have different values or if the two B elements have different values, the value of the \fIfilename\fR element replaces the value of the \fBAIM_MANIFEST\fR element. If the two A elements have different attributes, or if the two B elements have different attributes, the attribute values are merged.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   297
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   298
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   299
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   300
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   301
Attributes of A and B that exist in both the \fBAIM_MANIFEST\fR file and the \fIfilename\fR file have the values from the \fIfilename\fR file in the merged file.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   302
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   303
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   304
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   305
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   306
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   307
Attributes of A and B that exist in either the \fBAIM_MANIFEST\fR file or the \fIfilename\fR file but not in both files are all retained in the merged file.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   308
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   309
\fBExample 2: Inserting Differently Tagged Elements\fR. If the content of \fBAIM_MANIFEST\fR is \fB/A/B/C/D\fR and the content of \fIfilename\fR is \fB/A/B/E/F\fR, then after the \fBload -i\fR command, the content of the \fBAIM_MANIFEST\fR file is \fB/A/B/{E/F,C/D}\fR. The E node is added at the first location where it is allowed by the DTD. The values of elements A and B are the values from \fIfilename\fR, and the attributes of A and B are merged from \fIfilename\fR to \fBAIM_MANIFEST\fR as described in Example 1 above.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   310
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   311
Sometimes the correct merge location cannot be determined. This can happen if a sibling that is required to follow a node to be merged has not yet been added. To avoid this issue, add multiple nodes or subtrees to a common parent node in the order mandated by the DTD. A node is placed at the end of its list of new siblings if its proper place among them cannot be determined.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   312
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   313
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   314
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   315
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   316
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   317
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   318
\fB\fBvalidate\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   319
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   320
.sp .6
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   321
.RS 4n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   322
Validates the \fBAIM_MANIFEST\fR manifest against the DTD referenced in the \fB!DOCTYPE\fR statement. Errors are printed to \fBstderr\fR. A non-zero status is returned if validation fails.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   323
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   324
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   325
.SH OPERANDS
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   326
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   327
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   328
The following operands are required.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   329
.SS "The Filename Operand"
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   330
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   331
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   332
The \fBload\fR subcommand requires the \fIfilename\fR operand, which is the name of a full or partial manifest to load to the \fBAIM_MANIFEST\fR manifest.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   333
.SS "The Value Operand"
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   334
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   335
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   336
The \fBadd\fR and \fBset\fR subcommands require the \fIvalue\fR operand. The \fIvalue\fR operand is a valid value of the element or attribute specified by the \fIpath\fR operand.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   337
.SS "The Path Operand"
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   338
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   339
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   340
The \fBadd\fR, \fBget\fR, and \fBset\fR subcommands of the \fBaimanifest\fR command require the \fIpath\fR operand. The path defines a node in an XML hierarchy of elements and attributes.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   341
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   342
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   343
The XML element hierarchy structure is also called an XML tree. In the following partial AI manifest, the \fBauto_install\fR element is the root of the tree, and the \fBai_instance\fR and \fBsoftware\fR elements are branches or the roots of subtrees.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   344
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   345
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   346
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   347
<auto_install>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   348
  <ai_instance>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   349
    <software type="IPS"/>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   350
  </ai_instance>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   351
</auto_install>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   352
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   353
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   354
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   355
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   356
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   357
In \fBaimanifest\fR path syntax, use forward slash characters (/) to indicate branches in the tree structure. In the current example, the path to the \fBsoftware\fR element is \fB/auto_install/ai_instance/software\fR.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   358
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   359
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   360
Attributes are bound to an element. In \fBaimanifest\fR path syntax, use an at symbol (@) to identify an attribute name. The path to the \fBtype\fR attribute of the \fBsoftware\fR element is \fB/auto_install/ai_instance/software@type\fR.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   361
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   362
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   363
An \fBaimanifest\fR \fIpath\fR operand must correspond to a single element. Include element and attribute values as necessary to make the path unique. For example, to specify a size for the second slice defined in the following partial AI manifest, you could use the path \fB/auto_install/ai_instance/target/disk/slice[@name="4"]/size@val\fR to identify which slice you are specifying the size for.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   364
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   365
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   366
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   367
<auto_install>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   368
  <ai_instance>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   369
    <target>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   370
        <disk>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   371
          <slice name="0"/>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   372
          <slice name="4"/>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   373
        </disk>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   374
    </target>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   375
  </ai_instance>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   376
</auto_install>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   377
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   378
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   379
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   380
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   381
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   382
Relative paths are permitted. The \fBslice\fR path shown in the previous paragraph could be specified starting at \fBai_instance\fR, \fBtarget\fR, \fBdisk\fR, or \fBslice\fR , since there is only one \fBslice\fR with a \fBname\fR attribute value of 4. For example, you could use the path \fBslice[@name="4"]/size@val\fR.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   383
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   384
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   385
If a \fIvalue\fR within a \fIpath\fR contains forward slash characters, then that value must be enclosed in single or double quotation marks, as in \fB/name="pkg:/entire"\fR.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   386
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   387
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   388
When the \fBaimanifest\fR call is in a shell script, values that contain quotation marks might require additional special treatment. Within a shell script, quotation marks in \fBaimanifest\fR path values might need to be escaped with a preceding backslash character (\e) so that the shell does not remove or interpret the quotation marks. Check the rules of the shell you are using. The following example shows a value with a forward slash character in a \fBksh93\fR script:
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   389
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   390
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   391
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   392
/usr/bin/aimanifest get software_data[name=\e"pkg:/entire\e"]@action
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   393
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   394
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   395
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   396
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   397
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   398
Most examples in this man page omit backslash escape characters because this man page does not assume that \fBaimanifest\fR is being called in a script or in a particular shell. See \fIInstalling Oracle Solaris 11 Systems\fR for information about AI derived manifests scripts.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   399
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   400
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   401
The following forms of branches show how to construct a path to an element or element attribute.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   402
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   403
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   404
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   405
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   406
\fB\fB/A\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   407
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   408
.sp .6
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   409
.RS 4n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   410
\fBA\fR is the tag name of an element, as in \fB/auto_install\fR. This branch specification is also called a simple branch. Paths with only simple branches are called simple paths.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   411
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   412
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   413
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   414
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   415
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   416
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   417
\fB\fB/A=\fIvalue\fR\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   418
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   419
.sp .6
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   420
.RS 4n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   421
\fBA\fR is the tag name of an element, and \fIvalue\fR is the value of that element, as in \fB/name="pkg:/entire"\fR.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   422
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   423
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   424
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   425
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   426
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   427
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   428
\fB\fB/A[B/C=\fIvalue\fR]\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   429
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   430
.sp .6
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   431
.RS 4n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   432
\fBA\fR is an element, \fBB\fR is an element that is a child of \fBA\fR, \fBC\fR is an element that is a child of \fBB\fR, and \fIvalue\fR is the value of the \fBC\fR element. This path form specifies the \fBA\fR element that has a grandchild element \fBC\fR that has value \fIvalue\fR. For example, if your AI manifest has more than one software section, you could use this form to operate on the software section that installs package \fBpkg:/entire\fR, as in the following path:
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   433
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   434
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   435
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   436
software[software_data/name="pkg:/entire"]
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   437
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   438
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   439
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   440
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   441
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   442
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   443
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   444
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   445
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   446
\fB\fB/A[@Aattr=\fIvalue\fR]\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   447
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   448
.sp .6
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   449
.RS 4n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   450
\fBA\fR is an element, \fBAattr\fR is an attribute of \fBA\fR, and \fIvalue\fR is the value of the \fBAattr\fR attribute. This path form specifies the \fBA\fR element that has attribute \fBAattr\fR with value \fIvalue\fR. For example, if your AI manifest defines more than one slice, you could use this form to operate on the slice that has a \fBname\fR value of 4, as in \fBslice[@name="4"]\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   451
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   452
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   453
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   454
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   455
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   456
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   457
\fB\fB/A[B/C@Cattr=\fIvalue\fR]\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   458
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   459
.sp .6
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   460
.RS 4n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   461
\fBA\fR is an element, \fBB\fR is a child of \fBA\fR, \fBC\fR is a child of \fBB\fR, \fBCattr\fR is an attribute of \fBC\fR, and \fIvalue\fR is the value of the \fBCattr\fR attribute. This path form specifies the \fBA\fR element that has a grandchild element \fBC\fR that has attribute \fBCattr\fR with value \fIvalue\fR. For example, if your AI manifest has more than one software section, you could use this form to operate on the software section that has a publisher section with a name value of \fBsolaris\fR, as in the path \fBsoftware[source/publisher@name="solaris"]\fR.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   462
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   463
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   464
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   465
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   466
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   467
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   468
\fB\fB/A[1]\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   469
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   470
.sp .6
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   471
.RS 4n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   472
\fB/A[1]\fR specifies the first instance of an \fBA\fR element in the manifest. For example, if your AI manifest has more than one software section, you could use this form to operate on the second software section, as in \fB/auto_install[1]/ai_instance[1]/software[2]\fR.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   473
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   474
This is the form of path that is returned by the \fB-r\fR option. See the "Return Paths" section.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   475
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   476
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   477
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   478
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   479
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   480
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   481
\fB\fB/A@Aattr\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   482
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   483
.sp .6
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   484
.RS 4n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   485
This path specifies the \fBAattr\fR attribute of the \fBA\fR element. This path does not specify the \fBA\fR element but rather the \fBAattr\fR attribute. Use this form to set or get the \fBAattr\fR attribute.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   486
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   487
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   488
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   489
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   490
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   491
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   492
\fB\fB/A[B/C=\fIvalue\fR]@Aattr\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   493
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   494
.sp .6
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   495
.RS 4n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   496
This path specifies the \fBAattr\fR attribute of the \fBA\fR element that has a grandchild element \fBC\fR that has value \fIvalue\fR.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   497
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   498
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   499
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   500
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   501
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   502
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   503
\fB\fB/A[B/C@Cattr=\fIvalue\fR]@Aattr\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   504
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   505
.sp .6
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   506
.RS 4n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   507
This path specifies the \fBAattr\fR attribute of the \fBA\fR element that has a grandchild element \fBC\fR that has attribute \fBCattr\fR with value \fIvalue\fR.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   508
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   509
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   510
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   511
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   512
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   513
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   514
\fB\fB/A/B=\fIvalue\fR@Battr\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   515
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   516
.sp .6
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   517
.RS 4n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   518
This path specifies the \fBBattr\fR attribute of the \fBB\fR element with value \fIvalue\fR. The \fBB\fR element is a child of the \fBA\fR element.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   519
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   520
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   521
.SH RETURN PATHS
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   522
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   523
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   524
With the \fB-r\fR option, the \fBadd\fR, \fBget\fR, and \fBset\fR subcommands return the address of the element that was created or accessed by the subcommand. This returned address is in the form of a chain of node IDs. This returned address can be used to access the same element again, even if values associated with that element have changed.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   525
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   526
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   527
The following examples show that the address returned by the \fB-r\fR option can be much easier to use than a path that specifies element and attribute values. Start with the following node tree:
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   528
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   529
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   530
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   531
        auto_install
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   532
             |
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   533
        ai_instance
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   534
             |
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   535
           target
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   536
             |
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   537
           disk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   538
         attribute: whole_disk=true
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   539
             |
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   540
         disk_name
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   541
         attribute: name=data1
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   542
         attribute: name_type=volid
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   543
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   544
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   545
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   546
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   547
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   548
Add a new \fBdisk\fR node with \fBname\fR attribute value \fBdata2\fR and \fBname_type\fR attribute value \fBvolid\fR:
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   549
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   550
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   551
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   552
        auto_install
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   553
             |
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   554
        ai_instance
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   555
             |
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   556
           target
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   557
             |
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   558
  |----------|----------|
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   559
disk                  disk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   560
whole_disk=true       whole_disk=true
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   561
    |                     |
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   562
disk_name             disk_name
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   563
name=data1            name=data2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   564
name_type=volid       name_type=volid
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   565
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   566
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   567
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   568
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   569
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   570
A new \fBdisk_name\fR element with one attribute can be added easily with a single command. To add the second and third attributes, you must specify which \fBdisk_name\fR element to change. Compare the following two methods for accessing the same node multiple times.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   571
.SS "Specifying Paths By Using Values"
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   572
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   573
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   574
The commands in this example specify paths using values. Note that you must assign a unique value in the first command so that you can use that value to specify a unique path in the subsequent commands. This method could yield an incorrect result if the values are changed.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   575
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   576
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   577
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   578
$ \fBaimanifest add target/disk/disk_name@name data2\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   579
$ \fBaimanifest set \e\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   580
> \fBtarget/disk/disk_name[@name=data2]@name_type volid\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   581
$ \fBaimanifest set \e\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   582
> \fBtarget/disk[disk_name@name=data2]@whole_disk true\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   583
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   584
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   585
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   586
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   587
.SS "Specifying Paths By Using Returned Paths"
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   588
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   589
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   590
The most reliable way to access the same node multiple times is to save the path to the new \fBdisk_name\fR element, and then use that saved path for subsequent accesses.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   591
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   592
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   593
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   594
$ \fBNewDisk=$(aimanifest add -r target/disk@whole_disk true)\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   595
$ \fBaimanifest add ${NewDisk}/disk_name@name data2\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   596
$ \fBaimanifest add ${NewDisk}/disk_name@name_type volid\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   597
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   598
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   599
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   600
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   601
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   602
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   603
The path that is returned to \fB$NewDisk\fR through the \fB-r\fR option expresses the node in terms of IDs and is free of values:
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   604
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   605
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   606
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   607
$ \fBaimanifest add -r target/disk/@whole_disk true\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   608
/auto_install[1]/ai_instance[1]/target[1]/disk[2]
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   609
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   610
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   611
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   612
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   613
.SH EXAMPLES
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   614
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   615
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   616
To try these examples, you need to set \fBAIM_MANIFEST\fR.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   617
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   618
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   619
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   620
$ \fBexport AIM_MANIFEST=/tmp/aimtest.xml\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   621
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   622
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   623
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   624
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   625
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   626
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   627
The minimum \fBAIM_MANIFEST\fR file that the \fBaimanifest\fR command can modify must contain both of the following pieces:
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   628
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   629
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   630
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   631
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   632
A \fB!DOCTYPE\fR reference to a DTD that is valid for the XML manifest being developed.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   633
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   634
.RS +4
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   635
.TP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   636
.ie t \(bu
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   637
.el o
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   638
The root element for this manifest.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   639
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   640
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   641
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   642
The following example shows the minimum \fBAIM_MANIFEST\fR manifest file for an AI manifest:
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   643
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   644
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   645
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   646
<!DOCTYPE auto_install SYSTEM "file:///usr/share/install/ai.dtd">
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   647
<auto_install/>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   648
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   649
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   650
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   651
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   652
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   653
Usually, you will use the \fBaimanifest\fR command in a derived manifests script that operates on an existing valid AI manifest. To try these examples, you can copy \fB/usr/share/auto_install/manifest/default.xml\fR and then define \fBAIM_MANIFEST\fR to refer to this copy. Make sure the copy is writable.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   654
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   655
\fBExample 1 \fRSet the \fBauto_reboot\fR Attribute
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   656
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   657
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   658
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   659
$ \fBaimanifest set /auto_install/ai_instance@auto_reboot false\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   660
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   661
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   662
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   663
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   664
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   665
\fBExample 2 \fRGet the \fBauto_reboot\fR Value
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   666
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   667
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   668
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   669
$ \fBaimanifest get /auto_install/ai_instance@auto_reboot\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   670
false
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   671
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   672
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   673
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   674
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   675
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   676
\fBExample 3 \fRAdd a Publisher by Using Values Paths
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   677
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   678
.LP
1669
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   679
The package repository in this example is a file repository at \fBfile:///net/host2/export/extras_repo\fR. The publisher is \fBextras\fR. Since a \fBsoftware\fR element can have only one \fBsource\fR element, this example adds the new \fBpublisher\fR element to the \fBsource\fR element that contains the \fBsolaris\fR publisher.
1367
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   680
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   681
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   682
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   683
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   684
$ \fBaimanifest add \e\fR
1669
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   685
> \fBsoftware[@type=IPS]/source[publisher@name=solaris]/publisher@name \e\fR
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   686
\fBextras\fR
1367
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   687
$ \fBaimanifest add \e\fR
1669
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   688
> \fBpublisher[@name=extras]/origin@name \e\fR
1367
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   689
> \fBfile:///net/host2/export/extras_repo\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   690
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   691
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   692
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   693
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   694
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   695
.LP
1669
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   696
These \fBaimanifest\fR commands result in the following AI manifest entries if you started with the \fBdefault.xml\fR AI manifest. The \fBdestination\fR and \fBsoftware_data\fR elements are omitted for brevity.
1367
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   697
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   698
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   699
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   700
.nf
1669
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   701
<software type="IPS">
1367
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   702
  <source>
1669
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   703
    <publisher name="solaris">
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   704
      <origin name="http://pkg.oracle.com/solaris/release"/>
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   705
    </publisher>
1367
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   706
    <publisher name="extras">
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   707
      <origin name="file:///net/host2/export/extras_repo"/>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   708
    </publisher>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   709
  </source>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   710
</software>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   711
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   712
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   713
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   714
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   715
\fBExample 4 \fRAdd a Publisher by Using Returned Paths
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   716
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   717
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   718
This example is the same as the previous example but uses a different method to achieve the same result.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   719
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   720
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   721
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   722
.nf
1669
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   723
$ \fBNEW_PUB=$(aimanifest add -r \e\fR
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   724
> \fBsoftware[@type=IPS]/source[publisher@name=solaris]/publisher@name \e\fR
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   725
\fBextras)\fR
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   726
$ \fBecho $NEW_PUB\fR
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   727
/auto_install[1]/ai_instance[1]/software[1]/source[1]/publisher[2]
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   728
$ \fBaimanifest add ${NEW_PUB}/origin@name \e\fR
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   729
\fBfile:///net/host2/export/extras_repo\fR
1367
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   730
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   731
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   732
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   733
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   734
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   735
\fBExample 5 \fRAdd a Publisher By Adding a Manifest Fragment
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   736
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   737
.LP
1669
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   738
This example adds the \fBextras\fR publisher by loading a file that contains a partial AI manifest. In this case, the result is a separate, additional \fBsoftware\fR element of type IPS with the \fBextras\fR publisher defined. This new \fBsoftware\fR element is inserted after the original IPS \fBsoftware\fR element that defines the \fBsolaris\fR publisher. Packages named in \fBsoftware_data\fR elements within this new \fBsoftware\fR element are only searched for from the \fBextras\fR publisher or other publishers defined in this new \fBsoftware\fR element. This manifest fragment also defines a package to install, since a \fBsoftware\fR element with no software to install is not useful.
1367
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   739
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   740
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   741
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   742
Create a file named \fBextras.xml\fR with the following content:
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   743
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   744
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   745
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   746
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   747
<auto_install>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   748
  <ai_instance>
1669
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   749
    <software type="IPS">
1367
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   750
      <source>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   751
        <publisher name="extras">
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   752
          <origin name="file:///net/host2/export/extras_repo"/>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   753
        </publisher>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   754
      </source>
1669
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   755
      <software_data action="install">
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   756
        <name>pkg:/package/from/extras_repo</name>
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   757
      </software_data> 
1367
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   758
    </software>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   759
  </ai_instance>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   760
</auto_install>
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   761
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   762
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   763
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   764
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   765
.LP
1669
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   766
Even though you only want the \fBsoftware\fR section, you must include the \fBauto_install\fR and \fBai_instance\fR elements as well. If the loaded file specifies attributes for the \fBauto_install\fR or \fBai_instance\fR elements, then those attribute values replace existing values or are added.
1367
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   767
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   768
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   769
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   770
Use the following command to add this \fBsoftware\fR section to the \fBAIM_MANIFEST\fR manifest:
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   771
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   772
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   773
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   774
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   775
$ \fBaimanifest load -i extras.xml\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   776
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   777
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   778
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   779
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   780
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   781
\fBExample 6 \fRAdd a Package by Using a Values Path
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   782
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   783
.LP
1669
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   784
This example adds a package to the \fBsoftware\fR element that has a \fBpublisher\fR element with name \fBsolaris\fR by specifying the publisher name as a value in the path.
1367
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   785
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   786
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   787
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   788
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   789
$ \fBaimanifest add \e\fR
1669
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   790
> \fBsoftware[source/publisher@name=solaris]/software_data/name \e\fR
1367
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   791
> \fBpkg:/system/utils\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   792
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   793
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   794
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   795
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   796
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   797
.LP
1669
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   798
This \fBaimanifest\fR command adds the second \fBsoftware_data\fR element shown below if you started with the \fBdefault.xml\fR AI manifest.
1367
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   799
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   800
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   801
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   802
.nf
1669
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   803
<software_data action="install">
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   804
  <name>pkg:/entire@latest</name>
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   805
  <name>pkg:/group/system/solaris-large-server</name>
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   806
</software_data>
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   807
<software_data>
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   808
  <name>pkg:/system/utils</name>
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   809
</software_data>
1367
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   810
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   811
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   812
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   813
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   814
\fBExample 7 \fRAdd a Package by Using a Returned Path
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   815
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   816
.LP
1669
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   817
This example is the same as the previous example but uses a different method to achieve the same result. This example uses the \fBget\fR subcommand with the returned path option to add the package to the \fBsoftware\fR element where the \fBsolaris\fR publisher is defined.
1367
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   818
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   819
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   820
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   821
.nf
1669
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   822
$ \fBNEW_PKG=$(aimanifest get -r \e\fR
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   823
\fBsoftware[source/publisher@name=solaris] | awk '{print $2 }')\fR
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   824
$ \fBecho $NEW_PKG\fR
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   825
/auto_install[1]/ai_instance[1]/software[1]
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   826
$ \fBaimanifest add ${NEW_PKG}/software_data/name \e\fR
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   827
\fBpkg:/system/utils\fR
1367
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   828
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   829
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   830
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   831
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   832
.LP
1669
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   833
\fBExample 8 \fRAdd a Package By Adding a Manifest Fragment
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   834
.sp
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   835
.LP
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   836
This example adds the package by loading a file that contains a partial AI manifest. In this case, the result is a separate, additional \fBsoftware\fR element of type IPS inserted after the original IPS \fBsoftware\fR element. This new \fBsoftware\fR element contains only a \fBsoftware_data\fR element; no \fBsource\fR element is specified. Packages named in \fBsoftware_data\fR elements within this new \fBsoftware\fR element are searched for from publishers defined in the preceding \fBsoftware\fR element.
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   837
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   838
.sp
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   839
.LP
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   840
Create a file named \fBnewpkg.xml\fR with the following content:
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   841
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   842
.sp
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   843
.in +2
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   844
.nf
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   845
<auto_install>
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   846
  <ai_instance>
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   847
    <software type="IPS">
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   848
      <software_data>
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   849
        <name>pkg:/system/utils</name>
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   850
      </software_data>
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   851
    </software>
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   852
  </ai_instance>
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   853
</auto_install>
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   854
.fi
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   855
.in -2
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   856
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   857
.sp
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   858
.LP
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   859
Even though you only want the \fBsoftware\fR section, you must include the \fBauto_install\fR and \fBai_instance\fR elements as well. If the loaded file specifies attributes for the \fBauto_install\fR or \fBai_instance\fR elements, then those attribute values replace existing values or are added.
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   860
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   861
.sp
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   862
.LP
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   863
Use the following command to add this \fBsoftware\fR section to the \fBAIM_MANIFEST\fR manifest:
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   864
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   865
.sp
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   866
.in +2
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   867
.nf
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   868
$ \fBaimanifest load -i newpkg.xml\fR
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   869
.fi
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   870
.in -2
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   871
.sp
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   872
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   873
.LP
5889a0b7b4d6 7163807 Need to sync up manpages in the slim_source gate
Ethan Quach <Ethan.Quach@oracle.com>
parents: 1367
diff changeset
   874
\fBExample 9 \fRValidate a Manifest
1367
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   875
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   876
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   877
Validate the \fBAIM_MANIFEST\fR manifest.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   878
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   879
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   880
.in +2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   881
.nf
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   882
$ \fBaimanifest validate\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   883
.fi
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   884
.in -2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   885
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   886
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   887
.SH EXIT STATUS
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   888
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   889
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   890
The following exit values are returned:
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   891
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   892
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   893
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   894
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   895
\fB\fB0\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   896
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   897
.RS 13n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   898
.rt  
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   899
The command was processed successfully.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   900
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   901
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   902
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   903
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   904
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   905
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   906
\fB\fB>0\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   907
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   908
.RS 13n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   909
.rt  
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   910
An error occurred.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   911
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   912
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   913
.SH FILES
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   914
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   915
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   916
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   917
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   918
\fB\fBAIM_MANIFEST\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   919
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   920
.RS 16n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   921
.rt  
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   922
The value of this environment variable is the location of the AI manifest that is being built.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   923
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   924
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   925
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   926
.ne 2
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   927
.mk
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   928
.na
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   929
\fB\fBAIM_LOGFILE\fR\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   930
.ad
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   931
.RS 16n
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   932
.rt  
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   933
The value of this environment variable is the location of the log file of \fBaimanifest\fR operations.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   934
.RE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   935
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   936
.SH ATTRIBUTES
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   937
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   938
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   939
See \fBattributes\fR(5) for descriptions of the following attributes:
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   940
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   941
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   942
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   943
.TS
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   944
tab() box;
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   945
cw(1.65i) |cw(3.85i) 
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   946
lw(1.65i) |lw(3.85i) 
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   947
.
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   948
ATTRIBUTE TYPEATTRIBUTE VALUE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   949
_
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   950
AvailabilityT{
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   951
\fBsystem/install/auto-install/auto-install-common\fR
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   952
T}
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   953
_
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   954
Interface StabilityUncommitted
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   955
.TE
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   956
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   957
.SH SEE ALSO
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   958
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   959
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   960
installadm(1M), \fBpkg\fR(1)
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   961
.sp
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   962
.LP
a5c349640e79 7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
diff changeset
   963
Part\ III, \fIInstalling Using an Install Server,\fR in \fIInstalling Oracle Solaris 11 Systems\fR