PDF(4)
NAME
pdf − Product Description File
DESCRIPTION
A Product Description File describes product files contained in the HP-UX. operating system. It consists of a file containing a single line entry for each file described where each entry contains the following fields:
pathname
owner
group
mode
size
links
version
checksum
linked_to
Fields are separated by a colon (:).
Pathname is the absolute pathname of the file (starts with /). If pathname is preceded by “?”, it is an optional file that may or may not be present on the system.
Owner and group are either the symbolic or numeric IDs of the owner and group of the file.
Mode is the symbolic representation of the permission and type information of the file as displayed by the ls −l command.
Size is the size of the file in bytes. In the case of device special files, it is the major/minor number. Directory sizes are not recorded.
Links is the number of hard links to pathname.
Version is the numeric value of the revision of the file. Commands supporting PDFs determine this value by invoking the what(1) command on the file and searching for a revision number. If no revision is found, the ident(1) command is invoked. The version number recorded is the first one encountered. If no version number is found, the field is empty.
Checksum is the result of the application of the POSIX checksum algorithm to the file’s contents. This checksum is identical to that produced with the sum −p command.
Linked_to is the file to which pathname is linked, whether with a hard or symbolic link. If pathname is not a link, this field is empty.
Some commands (namely pdfdiff(1M) and pdfck(1M)) rely on the convention that one file in a set of hard links is considered the primary file, indicating no linked_to file in the PDF, while the remaining files in the set all indicate the primary file as the linked_to. This convention prevents double counting in size calculations, and allows some efficiencies in algorithms for checking consistency of links.
Empty fields indicate a “don’t care” status. Any field except pathname can be empty.
Comment lines in the file begin with the character ’%’. The first line of the file is always the comment:
% Product Description File
The second comment line is produced by the mkpdf command’s −c option. For HP-UX files, this comment usually indicates the product name and release.
EXAMPLE
% Product Description File
% fileset TEST, Release 1.0
/bin/basename:bin:bin:-r-xr-xr-x:4904:1:56.1:52902:
/bin/cat:bin:bin:-r-xr-xr-x:27724:1:51.1:1665:
/bin/cc:bin:bin:-r-xr-xr-x:32664:1:63.3:38478:
/bin/dirname:bin:bin:-r-xr-xr-x:4892:1:51.2:2339:
/bin/grep:bin:bin:-r-xr-xr-x:35344:1:62.1:53539:
/bin/ls:bin:bin:-r-xr-xr-x:94208:6:64.1:30408:
/bin/ll:bin:bin:-r-xr-xr-x:94208:6:64.1:30408:/bin/ls
/bin/su:root:other:-r-sr-xr-x:72652:1:64.3:39793:
% total size is 272388 bytes.
% total size is 266 blocks.
AUTHOR
The specification of PDF is derived from an early draft proposal for Bill of Materials in IEEE POSIX P1003.2 (Draft 2). This proposal was later dropped from the standard. The implementation is by Hewlett-Packard Company.
FILES
/system/∗/pdf
SEE ALSO
mkpdf(1m), pdfdiff(1m), pdfck(1m).
Hewlett-Packard Company — HP-UX Release 7.0: Sept 1989