Table of Contents
wdump - read and display internal state for a directory and its files
wdump [directory] ...
wdump reads and displays the internal
state information for every file associated with a directory. First, information
on the directory itself is displayed, followed by information on each file
or directory existing in either the local directory, or existing in the
associated snapshot directory.
Each entry line begins with a single character,
which indicates the type of line. D means directory, F means file, A means
archive (snapshot), C means cache (.cache.cm) and L means local.
The
directory lines consist of the literal string "D flags: " followed by difference
flags in field 3, state flags in field 4, the SnapshotCM unique ID for
the directory in field 5 and the full snapshot path in the remainder of
the line (even if the directory only exists locally). The flags are described
in more detail below.
The file lines consist of the literal
string "F flags: " followed by difference flags in field 3, state flags
in field 4, lock flags in field 5, the SnapshotCM unique ID for the file
in field 6, and the full snapshot path in the remainder of the line (even
if the file only exists locally). The flags are described in more detail
below.
The snapshot information line is present only for
files existing and not deleted in the snapshot. Field 2 contains the current
keyword expansion setting for the file, which can be o, k, v or kv. Field
3 contains the text/binary setting, which can be either t or b. Field 4
contains the active revision number for the file in the snapshot. Field
5 contains the file's physical storage information, which changes only when
the content of the file changes. Field 6 is the size of the file as last
checked in, and fields 7-9 contain the date-time of the active revision in
field 4.
The cache lines are only present for local files
which have been checked out from the snapshot. A cache line may exist even
if no archive line is present, which simply means that the file has been
removed from the snapshot. Field 2 contains the keyword expansion setting
used to check out the file, which can be o, k, v or kv. Field 3 contains
the text/binary setting used to check out the file, which can be either
t or b. If the check out type is t, it is followed by a end-of-line expansion
value, u for unix, w for windows, and m for mac. Field 4 contains the revision
number which was used to check out the file. Field 5 contains the file's
physical storage information used to check out the file. Field 6 is a checksum
field, which is currently unused. Field 6 is the size of the local file
when last checked out, and fields 7-9 contain the date-time of the local
file after the last check out.
The local lines are only
present for local files. Field 2 is a checksum field, and is presently unused.
Field 3 is the current size of the local workspace file. Fields 4-6 are the
current date-time modified of the local workspace file. The remainder of
the line is the name of the file in the directory.
Six
possible difference flags can be set. Each flag reflects an attribute which
differs between the local file or directory and the corresponding snapshot
file. No difference is indicated by a '-' character. A difference is indicated
by a letter, as follows: 'C' - Content differs,
'M' - mode differs,
'V' - parent directory differs,
'R' - basename differs,
'N' - create (exists in SS, not in WS), and
'D' - delete (exists in WS, no longer in SS).
State flags indicates the state of the local file. 'C' indicates
the file is checked out,
'L' indicates a lock was set from within this workspace,
'O' that the local file is out-of-date,
'M' that the local file is modified,
'm' that the local file is merged.
Lock flags indicate how the file is locked. 'U' indicates that
the calling user has a strict lock,
'O' that another user has a strict lock,
'u' that this user has a concurrent lock (not used), and
'o' that another user has a strict lock.
Wdump output is intended for diagnostic use. Its format may change
with any release.
wci(1)
, wco(1)
, wdiff(1)
, whist(1)
, wls(1)
, wmap(1)
,
wmerge(1)
, wremove(1)
, wrename(1)
, wset(1)
, wupdate(1)
.
Table of Contents