Mercurial > illumos > illumos-gate
comparison usr/src/man/man1m/root_archive.1m @ 13692:05fa76d16740
2675 EOF itutools
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: Milan Jurik <milan.jurik@xylab.cz>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Andrew Stormont <Andrew.Stormont@nexenta.com>
Approved by: Eric Schrock <Eric.Schrock@delphix.com>
author | Alexander Eremin <a.eremin@nexenta.com> |
---|---|
date | Mon, 14 May 2012 12:16:08 -0700 |
parents | 5b2854ecc12d |
children |
comparison
equal
deleted
inserted
replaced
13691:e1aca0f20bff | 13692:05fa76d16740 |
---|---|
1 '\" te | 1 '\" te |
2 .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved | 2 .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved |
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. | 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 .\" 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 | 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 .\" fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] | 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 .TH ROOT_ARCHIVE 1M "Sep 9, 2009" | 7 .TH ROOT_ARCHIVE 1M "Sep 9, 2009" |
7 .SH NAME | 8 .SH NAME |
8 root_archive \- manage bootable miniroot archives | 9 root_archive \- manage bootable miniroot archives |
9 .SH SYNOPSIS | 10 .SH SYNOPSIS |
10 .LP | 11 .LP |
15 .LP | 16 .LP |
16 .nf | 17 .nf |
17 \fB/boot/solaris/bin/root_archive\fR unpack \fIarchive\fR \fIroot\fR | 18 \fB/boot/solaris/bin/root_archive\fR unpack \fIarchive\fR \fIroot\fR |
18 .fi | 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 .SH DESCRIPTION | 21 .SH DESCRIPTION |
31 .sp | 22 .sp |
32 .LP | 23 .LP |
33 The \fBroot_archive\fR utility is used to manipulate boot archives and the | 24 The \fBroot_archive\fR utility is used to manipulate boot archives. |
34 bootable miniroot(s) in a Solaris install image. The utility can pack and | 25 The utility can pack and unpack boot archives and image miniroots. Both \fBufs\fR and \fBhsfs\fR |
35 unpack boot archives and image miniroots. Both \fBufs\fR and \fBhsfs\fR | |
36 (\fBiso9660\fR) format archives can be unpacked, although only \fBufs\fR format | 26 (\fBiso9660\fR) format archives can be unpacked, although only \fBufs\fR format |
37 is generated when packing. | 27 is generated when packing. |
38 .sp | 28 .sp |
39 .LP | 29 .LP |
40 For normal, boot-related system administration, \fBbootadm\fR(1M) is | 30 For normal, boot-related system administration, \fBbootadm\fR(1M) is recommended. |
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. | |
49 .SH SUBCOMMANDS | 31 .SH SUBCOMMANDS |
50 .sp | 32 .sp |
51 .LP | 33 .LP |
52 The \fBroot_archive\fR command has the following subcommands: | 34 The \fBroot_archive\fR command has the following subcommands: |
53 .sp | 35 .sp |
63 .ne 2 | 45 .ne 2 |
64 .na | 46 .na |
65 \fB\fBunpack\fR \fIarchive\fR \fIroot\fR\fR | 47 \fB\fBunpack\fR \fIarchive\fR \fIroot\fR\fR |
66 .ad | 48 .ad |
67 .sp .6 | 49 .sp .6 |
68 .RS 4n | 50 .RS 21n |
69 Unpack the contents of the boot archive named \fIarchive\fR to the directory | 51 Unpack the contents of the boot archive named \fIarchive\fR to the directory |
70 named \fIroot\fR. | 52 named \fIroot\fR. |
71 .RE | 53 .RE |
72 | |
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 | 54 |
141 .SH EXIT STATUS | 55 .SH EXIT STATUS |
142 .sp | 56 .sp |
143 .LP | 57 .LP |
144 The following exit values are returned: | 58 The following exit values are returned: |