pkg2du.1m revision c10c16dec587a0662068f6e2991c29ed3a9db943
te
Copyright (c) 2008, 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]
pkg2du 1M "23 Sep 2009" "SunOS 5.11" "System Administration Commands"
NAME
pkg2du - convert driver packages to Driver Update format
SYNOPSIS

/usr/bin/pkg2du [-f] [-v] [-d dir] [-o iso] [-l label]
 [-r release] pkg [pkg ...]
DESCRIPTION

The /usr/bin/pkg2du utility takes one or more packages as input and converts them to Driver Update (DU) format. If the -d option is specified, the resulting DU directory tree is placed in the directory dir. If the -o option is specified, a Solaris ISO image of the DU directory tree is written in the file iso. The ISO image can be burned onto CD/DVD using cdrw(1) or cdrecord(1) (not a SunOS man page) and used during Solaris installation.

At least one of the -d and -o options must be specified. If both are specified, then both an ISO image and a directory tree are generated.

OPTIONS

The following options are supported:

-d dir

Directory where the DU directory should be created.

-o iso

Create a Solaris ISO image of the DU directory.

-f

If dir/DU or iso exists, remove it without asking first.

-l label

Label/volume name of the ISO image (if -o option is specified).

-r release

Solaris release number to use. It takes the form of the return from uname -r command, for example, 5.10. If unspecified, the release number of the currently running Solaris is used.

-v

Verbose. Multiple -v options increase verbosity.

OPERANDS

The following operands are supported:

pkg [pkg...]

One or more packages to be converted to DU format.

EXAMPLES

Example 1 Creating a DU CD/DVD

The following commands create a DU CD or DVD containing packages SUNWfoo and SUNWbar.

# /usr/bin/pkg2du -r 5.10 -o my.iso SUNWfoo SUNWbar
# /usr/bin/cdrw -i my.iso
ATTRIBUTES

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

ATTRIBUTE TYPEATTRIBUTE VALUE
Interface StabilityCommitted
SEE ALSO

cdrw(1), mkbootmedia(1M), attributes(5)

mkisofs(8), (/usr/share/man/man8/mkisofs.8), in the SUNWfsman package (not a SunOS man page)