HP-UX Reference (11i v3 07/02) - 1 User Commands N-Z (vol 2)
p
pax(1) pax(1)
in each format.
The result of the keyword conversion argument shall be the value from the applicable header
field or extended header, without any trailing NULL characters.
7. An additional conversion specifier character, T, shall be used to specify time formats. The T conversion
specifier character can be preceded by the
(keyword=subformat) sequence where subformat is a date
format as defined by date operands. The default keyword shall be
mtime and the default subformat
shall be:
%b %e %H:%M %Y
8. An additional conversion specifier character,
M, shall be used to specify the file mode string as defined
in
ls Standard Output. If (keyword)
is omitted, the mode keyword shall be used. For example,
%.1M writes the single character corresponding to the entry_type field of the
ls -l command
9. An additional conversion specifier character,
D, shall be used to specify the device for block or special
files, if applicable. If not applicable, and
(keyword) is specified, then this conversion shall be
equivalent to
%(keyword)u. If not applicable, and
(keyword) is omitted, then this conversion shall
be equivalent to space.
10. An additional conversion specifier character,
F, shall be used to specify a pathname. The
F conversion
character can be preceded by a sequence of comma-separated keywords:
(keyword[,keyword] ...)
The values for all the keywords that are non-null shall be concatenated together, each separated by a
’/’. The default shall be (path) if the keyword path is defined; otherwise, the default shall be
(prefix,name) .
11. An additional conversion specifier character, L, shall be used to specify a symbolic line expansion. If
the current file is a symbolic link, then %L shall expand to:
%s -> %s, value_of_keyword, contents_of_link
Otherwise, the %L conversion specification shall be the equivalent of %F.
EXTENDED DESCRIPTION
cpio Interchange Format
The octet-oriented
cpio
archive format shall be a series of entries, each comprising a header that
describes the file, the name of the file, and then the contents of the file. The fields of the
cpio header are
described below:
c_magic
Identify the archive as being a transportable archive by containing the identifying value "070707".
c_dev,c_ino
Contains values that uniquely identify the file within the archive. No files contain the same pair of
c_dev and c_ino values unless they are links to the same file.
c_mode
Contains the file type and access permissions.
c_uid
Contains the user ID of the owner of the file.
c_gid
Contains the group ID of the group owner of the file.
c_nlink
Contains the number links of the file.
c_rdev
Contains information for character or block special files.
c_mtime
Contains the latest time of modification of the file at the time the archive was created.
c_namesize
Contains the length of the pathname, including the terminating NUL character.
c_filesize
Contains the length of the file in bytes. This shall be the length of the data section following the
112 Hewlett-Packard Company − 8 − HP-UX 11i Version 3: February 2007