xref: /illumos-gate/usr/src/man/man8/root_archive.8 (revision b210e77709da8e42dfe621e10ccf4be504206058)
te
Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
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.
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
fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
Copyright 2012 Nexenta Systems, Inc. All rights reserved.
ROOT_ARCHIVE 8 "Sep 9, 2009"
NAME
root_archive - manage bootable miniroot archives
SYNOPSIS

/boot/solaris/bin/root_archive pack archive root

/boot/solaris/bin/root_archive unpack archive root
DESCRIPTION

The root_archive utility is used to manipulate boot archives. The utility can pack and unpack boot archives and image miniroots. Both ufs and hsfs (iso9660) format archives can be unpacked, although only ufs format is generated when packing.

For normal, boot-related system administration, bootadm(8) is recommended.

SUBCOMMANDS

The root_archive command has the following subcommands: pack archive root

Pack the contents of the root directory into the boot archive archive.

unpack archive root

Unpack the contents of the boot archive named archive to the directory named root.

EXIT STATUS

The following exit values are returned: 0

The command completed successfully.

1

The command exited due to an error.

ATTRIBUTES

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Committed
SEE ALSO

cpio (1), lofi (4D), attributes (7), bootadm (8), mount (8)