xref: /titanic_50/usr/src/man/man1m/root_archive.1m (revision 385cc6b4ad1792caef3f84eb61eed3f27085801f)
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 1M "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(1M) 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(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Committed
SEE ALSO

cpio(1), bootadm(1M), mount(1M), attributes(5), lofi(7D)