Print this page
2675 EOF itutools
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man1m/root_archive.1m
+++ new/usr/src/man/man1m/root_archive.1m
1 1 '\" te
2 2 .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
3 3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
4 4 .\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the
5 5 .\" fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 +.\" Copyright 2012 Nexenta Systems, Inc. All rights reserved.
6 7 .TH ROOT_ARCHIVE 1M "Sep 9, 2009"
7 8 .SH NAME
8 9 root_archive \- manage bootable miniroot archives
9 10 .SH SYNOPSIS
10 11 .LP
11 12 .nf
12 13 \fB/boot/solaris/bin/root_archive\fR pack \fIarchive\fR \fIroot\fR
13 14 .fi
14 15
15 16 .LP
16 17 .nf
17 18 \fB/boot/solaris/bin/root_archive\fR unpack \fIarchive\fR \fIroot\fR
18 19 .fi
19 20
20 -.LP
21 -.nf
22 -\fB/boot/solaris/bin/root_archive\fR packmedia \fIsolaris_image\fR \fIroot\fR
23 -.fi
24 -
25 -.LP
26 -.nf
27 -\fB/boot/solaris/bin/root_archive\fR unpackmedia \fIsolaris_image\fR \fIroot\fR
28 -.fi
29 -
30 21 .SH DESCRIPTION
31 22 .sp
32 23 .LP
33 -The \fBroot_archive\fR utility is used to manipulate boot archives and the
34 -bootable miniroot(s) in a Solaris install image. The utility can pack and
35 -unpack boot archives and image miniroots. Both \fBufs\fR and \fBhsfs\fR
24 +The \fBroot_archive\fR utility is used to manipulate boot archives.
25 +The utility can pack and unpack boot archives and image miniroots. Both \fBufs\fR and \fBhsfs\fR
36 26 (\fBiso9660\fR) format archives can be unpacked, although only \fBufs\fR format
37 27 is generated when packing.
38 28 .sp
39 29 .LP
40 -For normal, boot-related system administration, \fBbootadm\fR(1M) is
41 -recommended. \fBroot_archive\fR's primary purpose is to enable OEMs to add or
42 -update a driver or other component on the Solaris install media.
43 -.sp
44 -.LP
45 -A miniroot and a boot archive is closely associated with the release it is
46 -intended to boot. To ensure that the tools and system services used to
47 -construct the miniroot match, miniroot manipulation must be performed only on a
48 -system running the same release for which the miniroot is intended to install.
30 +For normal, boot-related system administration, \fBbootadm\fR(1M) is recommended.
49 31 .SH SUBCOMMANDS
50 32 .sp
51 33 .LP
52 34 The \fBroot_archive\fR command has the following subcommands:
53 35 .sp
54 36 .ne 2
55 37 .na
56 38 \fB\fBpack\fR \fIarchive\fR \fIroot\fR\fR
57 39 .ad
58 40 .RS 21n
59 41 Pack the contents of the root directory into the boot archive \fIarchive\fR.
60 42 .RE
61 43
62 44 .sp
63 45 .ne 2
64 46 .na
65 47 \fB\fBunpack\fR \fIarchive\fR \fIroot\fR\fR
66 48 .ad
67 49 .sp .6
68 -.RS 4n
50 +.RS 21n
69 51 Unpack the contents of the boot archive named \fIarchive\fR to the directory
70 52 named \fIroot\fR.
71 53 .RE
72 54
73 -.sp
74 -.ne 2
75 -.na
76 -\fB\fBpackmedia\fR \fIsolaris_image\fR \fIroot\fR\fR
77 -.ad
78 -.sp .6
79 -.RS 4n
80 -Create and pack the miniroot(s) in \fIsolaris_image\fR from the contents of the
81 -directory named \fIroot\fR.
82 -.RE
83 -
84 -.sp
85 -.ne 2
86 -.na
87 -\fB\fBunpackmedia\fR \fIsolaris_image\fR \fIroot\fR\fR
88 -.ad
89 -.sp .6
90 -.RS 4n
91 -Unpack the contents of the miniroot(s) in \fIsolaris_image\fR to the directory
92 -named \fIroot\fR.
93 -.RE
94 -
95 -.sp
96 -.LP
97 -The contents of a miniroot are constructed to need the requirements of the
98 -release. When unpacking a miniroot, all the contents of the miniroot(s) are
99 -unpacked. When packing a miniroot, the source directory must contain all the
100 -necessary components with which to construct a miniroot. In general, this can
101 -only be achieved by first unpacking an existing miniroot.
102 -.SH EXAMPLES
103 -.LP
104 -\fBExample 1 \fRUnpacking the Miniroots in a Solaris x86 Install Image
105 -.sp
106 -.LP
107 -The following command unpacks the miniroots in a Solaris image to the root
108 -directory in \fB/export/release/latest\fR.
109 -
110 -.sp
111 -.in +2
112 -.nf
113 -# \fBroot_archive unpackmedia \e\fR
114 -\fB/export/nv/solarisdvd.nvx_dvd/latest /export/release/latest/root\fR
115 -.fi
116 -.in -2
117 -.sp
118 -
119 -.sp
120 -.LP
121 -In the preceding, \fB/export/nv/solarisdvd.nvx_dvd/latest\fR represents a path
122 -to a Solaris x86 install image and \fB/export/release/latest/root\fR is a
123 -directory that will be purged or created, as necessary.
124 -
125 -.LP
126 -\fBExample 2 \fRPacking the Miniroots in a Solaris x86 Install Image
127 -.sp
128 -.LP
129 -The following command creates and packs the miniroot(s) in a Solaris image from
130 -the contents of the directory \fB/export/release/latest/root\fR.
131 -
132 -.sp
133 -.in +2
134 -.nf
135 -# \fBroot_archive packmedia \e\fR
136 -\fB/export/nv/solarisdvd.nvx_dvd/latest /export/release/latest/root\fR
137 -.fi
138 -.in -2
139 -.sp
140 -
141 55 .SH EXIT STATUS
142 56 .sp
143 57 .LP
144 58 The following exit values are returned:
145 59 .sp
146 60 .ne 2
147 61 .na
148 62 \fB\fB0\fR\fR
149 63 .ad
150 64 .RS 5n
151 65 The command completed successfully.
152 66 .RE
153 67
154 68 .sp
155 69 .ne 2
156 70 .na
157 71 \fB\fB1\fR\fR
158 72 .ad
159 73 .RS 5n
160 74 The command exited due to an error.
161 75 .RE
162 76
163 77 .SH ATTRIBUTES
164 78 .sp
165 79 .LP
166 80 See \fBattributes\fR(5) for descriptions of the following attributes:
167 81 .sp
168 82
169 83 .sp
170 84 .TS
171 85 box;
172 86 c | c
173 87 l | l .
174 88 ATTRIBUTE TYPE ATTRIBUTE VALUE
175 89 _
176 90 Interface Stability Committed
177 91 .TE
178 92
179 93 .SH SEE ALSO
180 94 .sp
181 95 .LP
182 96 \fBcpio\fR(1), \fBbootadm\fR(1M), \fBmount\fR(1M), \fBattributes\fR(5),
183 97 \fBlofi\fR(7D)
↓ open down ↓ |
33 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX