pax.1 (2011 09)

p
pax(1) pax(1)
An extended header shall consist of one or more records, each constructed as follows:
%d %s=%s\n,length,keyword,value
The keyword field shall be one of the entries from the following list. A keyword shall not include an
equals sign. In the following list, the notations "file(s)" or "block(s)" are used to acknowledge that a key-
word affects the following single file after a
typeflag x extended header, but possibly multiple files
after
typeflag g. Any requirements in the list for
pax to include a record when in write or copy
mode shall apply only when such a record has not already been provided through the use of the
-o
option. When used in copy mode, pax shall behave as if an archive had been created with applicable
extended header records and then extracted.
atime The file access time for the following file(s), equivalent to the value of the
st_atime
member of the stat structure for a file, as described by the
stat() function. The format
of the value shall be as described in pax Extended Header File Times .
comment A series of characters used as a comment. All characters in the value field shall be ignored
by
pax.
gid The group ID of the group that owns the file, expressed as a decimal number using digits
from the ISO/IEC 646:1991 standard. This record shall override the
gid field in the follow-
ing header block(s). When used in
write or
copy mode, pax shall include a gid
extended header record for each file whose group ID is greater than 2097151 (octal
7777777).
gname The group of the file(s), formatted as a group name in the group database. This record shall
override the
gid and gname fields in the following header block(s), and any gid
extended header record. When used in write or copy mode, pax shall include a gname
extended header record for each file whose group name cannot be represented in the ustar
header.
linkpath The pathname of a link being created to another file, of any type, previously archived. This
record shall override the
linkname field in the following ustar header block(s). The fol-
lowing ustar header block shall determine the type of link created. If typeflag of the fol-
lowing header block is 1, it shall be a hard link. If typeflag is 2, it shall be a symbolic link
and the linkpath value shall be the contents of the symbolic link. When used in write
or copy mode, pax shall include a linkpath extended header record for each link whose
pathname cannot be represented in the ustar header.
mtime The file modification time of the following file(s), equivalent to the value of the
st_mtime
member of the stat structure for a file, as described in the stat() function. This record
shall override the mtime field in the following header block(s). The modification time shall
be restored if the process has the appropriate privilege required to do so. The format of the
value is described in pax Extended Header File Times.
path The pathname of the following file(s). This record shall override the name and prefix
fields in the following header block(s). When used in write or copy mode, pax shall
include a path extended header record for each file whose pathname cannot be represented
entirely in the ustar header.
size The size of the file in bytes, expressed as a decimal number using digits from the ISO/IEC
646:1991 standard. This record shall override the size field in the following header
block(s). When used in write or copy mode, pax shall include a size extended header
record for each file with a size value greater than 8589934591 (octal 77777777777).
uid The user ID of the file owner, expressed as a decimal number using digits from the ISO/IEC
646:1991 standard. This record shall override the uid field in the following header block(s).
When used in write or copy mode, pax shall include a uid extended header record for
each file whose owner ID is greater than 2097151 (octal 7777777).
uname The owner of the following file(s), formatted as a user name in the user database. This
record shall override the uid and uname fields in the following header block(s), and any
uid extended header record. When used in write or copy mode, pax shall include a
uname extended header record for each file whose user name cannot be represented entirely
in the ustar header.
security.acl
Indicates that the optional ACL entry for the file has been backed up for HFS files and its
value will be equal to 1. This record is written to the extended header if -A option is
HP-UX 11i Version 3: September 2011 11 Hewlett-Packard Company 11