1pkgparam(1) User Commands pkgparam(1)
2
3
4
6 pkgparam - display package parameter values
7
9 pkgparam [-v] [-d device] [-R root_path] pkginst [param]...
10
11
12 pkgparam -f filename [-v] [param]...
13
14
16 pkgparam displays the value associated with the parameter or parameters
17 requested on the command line. The values are located in either the
18 pkginfo(4) file for pkginst or from the specific file named with the -f
19 option.
20
21
22 One parameter value is shown per line. Only the value of a parameter is
23 given unless the -v option is used. With this option, the output of the
24 command is in this format:
25
26 parameter1='value1'
27 parameter2='value2'
28 parameter3='value3'
29
30
31
32
33 If no parameters are specified on the command line, values for all
34 parameters associated with the package are shown.
35
37 Options and arguments for this command are:
38
39 -d device Specify the device on which a pkginst is stored. It can
40 be a directory pathname or the identifiers for tape,
41 floppy disk, or removable disk (for example, /var/tmp,
42 /dev/diskette, and /dev/dsk/c1d0s0). The special token
43 spool may be used to represent the default installation
44 spool directory (/var/spool/pkg).
45
46
47 -f filename Read filename for parameter values.
48
49
50 -R root_path Defines the full path name of a subdirectory to use as
51 the root_path. All files, including package system
52 information files, are relocated to a directory tree
53 starting in the specified root_path.
54
55
56 -v Verbose mode. Display name of parameter and its value.
57
58
60 pkginst Defines a specific package instance for which parameter val‐
61 ues should be displayed.
62
63
64 param Defines a specific parameter whose value should be dis‐
65 played.
66
67
69 If parameter information is not available for the indicated package,
70 the command exits with a non-zero status.
71
73 0 Successful completion.
74
75
76 >0 An error occurred.
77
78
80 See attributes(5) for descriptions of the following attributes:
81
82
83
84
85 ┌─────────────────────────────┬─────────────────────────────┐
86 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
87 ├─────────────────────────────┼─────────────────────────────┤
88 │Availability │SUNWcsu │
89 └─────────────────────────────┴─────────────────────────────┘
90
92 pkgmk(1), pkgproto(1), pkgtrans(1), pkgadd(1M), pkginfo(4),
93 attributes(5), largefile(5)
94
95
96 Application Packaging Developer's Guide
97
99 With the -f option, you can specify the file from which parameter val‐
100 ues should be extracted. This file should be in the same format as a
101 pkginfo(4) file. For example, such a file might be created during pack‐
102 age development and used while testing software during this stage.
103
104
105 Package commands are largefile(5)-aware. They handle files larger than
106 2 GB in the same way they handle smaller files. In their current imple‐
107 mentations, pkgadd(1M), pkgtrans(1) and other package commands can
108 process a datastream of up to 4 GB.
109
110
111
112SunOS 5.11 30 Oct 2007 pkgparam(1)