HP-UX Reference (11i v1 00/12) - 4 File Formats (vol 8)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man4/!!!intro.4
________________________________________________________________
___ ___
s
swpackage(4) swpackage(4)
(Hewlett-Packard Company)
boolean Maximum length: 8 bytes
Examples: true, false
One of the values "true" or "false".
path_string
Maximum length: 255 bytes for tapes, 1024 bytes for depots
Examples: /usr, /mfg/sd/scripts/configure
An absolute or relative path to a file. Many attributes of this type are restricted to 255
bytes in length. This restriction is due to the tar(1) command, which requires a file’s
basename(1) be <= 100 bytes, and a file’s dirname(1) to be <= 155 bytes. (Some implemen-
tations of tar enforce < and not <=.)
uname_string
Maximum length: 64 bytes
Examples: 9000/7*:*|9000/8*:*, HP-UX, ?.11.*
Uname strings containing a subset of isascii() characters only.
No isspace() characters are allowed.
Shell pattern matching notation allowed: []*?!
Patterns can be "ORed" together using the separator:
|
path_mapping_string
Maximum length: none
Examples: /mfg/sd/files/usr = /usr
A value of the form: ‘‘source[=destination]’’ where the source defines the directory in which
subsequently defined files are located. The optional destination maps the source to a desti-
nation directory in which the files will actually be installed.
file_specification
Maximum length: none
Examples: -m 04555 sbin/swinstall or * (to denote all files and directories)
Explicitly specifies a file or directory to be packaged, using the format:
[-m mode][-o [owner[,]][uid]]
[-g [
group[,]][gid]] [-v][source][destination]
The source and destination can be paths relative to source and destination directories
specified in the path_mapping_string.
You can also use * to include all files below the source directory specified by a
direc-
tory
keyword.
permission_string
Maximum length: none
Examples: -u 0222 -o root -g sys
A value of the form:
[-m mode|-u umask ][-o [owner[,]][uid]]
[-g [
group[,]][gid]]
where each component defines a default permissions value for each file and directory
defined in a fileset. The default values can be overridden in each file’s specific definition.
The owner and group fields are of type tag_string. The uid and gid fields are of type
unsigned integer. The mode and umask are unsigned integers, but only supports the octal
character set: "0"-"7".
software_specification
Maximum length: none
Examples: SD.agent or SD,r=2.0,a=HP-UX_B.11.00_32
Software specifications are used to specify software in dependencies, ancestors and other
attributes, as well as command line selections. The SD commands and attributes support
the following syntax for each software_specification:
bundle[.product[.subproduct][.fileset]][,version]
Section 4292 7 HP-UX Release 11i: December 2000
___
___