DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

customextract(ADM)


customextract -- extract files from a distribution source

Syntax

customextract -m device [ -f file ] [ files ]

customextract -N host:password [ -f file ] [ files ]

customextract -z directory [ -f file ] [ files ]

Description

customextract extracts files from an SSO (software storage object) distribution source, which is typically a tape, CD-ROM, network software server, or directory of media images. The files are extracted relative to the current working directory, and no component scripts are run. customextract options parallel those of the custom(ADM) command.

Options

customextract accepts these options:

-m device
Uses the media in the named device, for example /dev/rct0.

-N host:password
Uses the network machine host as the source for extraction. If specified, password is the password for the swadmin user on host. If no password is specified on the command line, customextract prompts for one.

-z directory
Assumes that a set of image files representing media volumes exist in the named directory. Media volumes should follow the custom format for volume naming:

VOL.volume.archive

where volume is a 3-digit, zero-indexed number indicating the media volume, and archive is a 3-digit, zero-indexed number indicating the archive number on the given volume.

Files to be extracted are either specified on the command line, or from a file with the -f option. customextract can extract files located under /opt or /var/opt; /var/opt files are copied from their prototypes under /opt/K/VendorCode/ComponentCode/ComponentVersion/.softmgmt/var.

Examples

To install the file /tmp/opt/K/SCO/Unix/5.0.0a/etc/mount from SCSI tape drive 0, use these commands:

cd /tmp
customextract -m /dev/rct0 /opt/K/SCO/Unix/5.0.0a/etc/mount

To install the stock distribution form of a set of /var/opt files listed in a file called /tmp/MyList:

   /var/opt/K/SCO/nfs/2.0.0Bf/etc/nis
   /var/opt/K/SCO/nfs/2.0.0Bf/etc/nfs
   /var/opt/K/SCO/ipx/2.0.0Kg/public/etc/ipx.d/NPSConfig
To extract these files to /tmp, use these commands:

cd /tmp
customextract -f /tmp/MyList

See also

custom(ADM), hierarchy(M)

Standards conformance

customextract is not part of any currently supported standard; it is an extension of AT&T System V provided by The Santa Cruz Operation, Inc.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005