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.
/boot/solaris/bin/root_archive pack archive root
/boot/solaris/bin/root_archive unpack archive root
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.
The root_archive command has the following subcommands: pack archive root
Pack the contents of the root directory into the boot archive archive.
Unpack the contents of the boot archive named archive to the directory named root.
The following exit values are returned: 0
The command completed successfully.
The command exited due to an error.
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE ATTRIBUTE VALUE |
Interface Stability Committed |
cpio (1), lofi (4D), attributes (7), bootadm (8), mount (8)