手册页部分 1M: 系统管理命令

退出打印视图

更新时间: 2014 年 7 月
 
 

root_archive(1M)

名称

root_archive - manage bootable miniroot archives

用法概要

/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(1M) is recommended.

SUBCOMMANDS

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.

退出状态

The following exit values are returned:

0

The command completed successfully.

1

The command exited due to an error.

属性

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os
Interface Stability
Committed

另请参见

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