[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 2


gencopy Command

Purpose

Provides the wrapper to bffcreate and udisetup.

Syntax

To Copy Software from Media to Target Location

gencopy -d Media [ -t TargetLocation ] [ -D ] [ -b bffcreateFlags ] [ -X ] -f File | CopyList... | all

To List Software Products and Packages on Media

gencopy -L -d Media

Description

The gencopy command is the wrapper to bffcreate and udisetup. It determines what images must be copied and calls the appropriate command. For ISJE or other types of images where the list of required files is unknown, all the files in the subdirectory are copied to the target location.

Flags


-b bffcreateFlags Specifies the following flags that are valid: l, q, v, w, and S.
-d Media Specifies the device or directory where the install images exist. Media can be a device (/dev/cd0, /dev/rmt0) or directory.
-D Calls bffcreate with the -D option, instructing it to remove images after the copy. This flag is not valid with non-installp images.
-f File Specifies a file that contains a list of images to copy to the target location. ISJE and UDI images should be prefixed with a "J:" or "U:" respectively.
-L Lists the install packages on the media. This listing is colon separated and contains the following information:

file_name:package_name:fileset:V.R.M.F:type:platform:Description

bos.sysmgt:bos.sysmgt:bos.sysmgt.nim.client:4.3.4.0:I:R:Network Install Manager - Client Tools

bos.sysmgt:bos.sysmgt:bos.sysmgt.smit:4.3.4.0:I:R:System Management Interface Tool (SMIT)

-t TargetLocation Specifies the directory where the installation image files are stored. If the -t flag is not specified, the files are saved in the /usr/sys/inst.images directory.
-X Extends the file system automatically if space is needed.

Example

To copy all of the image from a CD (/dev/cd0) to an LPP_SOURCE (/export/lpp_source/500) use, type:

gencopy -d  /dev/cd0 -t  /export/lpp_source/500 all

Files


/usr/sbin/gencopy  

Related Information

The bffcreate command, udisetup command.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]