Veritas File System 5.1 SP1 Administrator"s Guide (5900-1499, April 2011)

# fcladm off mount_point
To remove the FCL file for a mounted file system, on which FCL must be turned
off, type the following:
# fcladm rm mount_point
To obtain the current FCL state for a mounted file system, type the following:
# fcladm state mount_point
To enable tracking of the file opens along with access information with each event
in the FCL, type the following:
# fcladm set fileopen,accessinfo mount_point
To stop tracking file I/O statistics in the FCL, type the following:
# fcladm clear filestats mount_point
Print the on-disk FCL super-block in text format to obtain information about the
FCL file by using offset 0. Because the FCL on-disk super-block occupies the first
block of the FCL file, the first and last valid offsets into the FCL file can be
determined by reading the FCL super-block and checking the fc_foff field. Enter:
# fcladm print 0 mount_point
To print the contents of the FCL in text format, of which the offset used must be
32-byte aligned, enter:
# fcladm print offset mount_point
File Change Log programmatic interface
VxFS provides an enhanced API to simplify reading and parsing the FCL file in
two ways:
The API simplifies user tasks by reducing additional code needed
to parse FCL file entries. In 4.1, to obtain event information such
as a remove or link, the user was required to write additional code
to get the name of the removed or linked file. In this release, the
API allows the user to directly read an assembled record. The API
also allows the user to specify a filter to indicate a subset of the
event records of interest.
Simplified reading
85File Change Log
File Change Log programmatic interface