NAME
vhardlinks — checks the consistency of compartment rules for files with multiple hardlinks
SYNOPSIS
vhardlinks
[-m
mount_point...]
DESCRIPTION
vhardlinks
checks the consistency of compartment rules for files that have multiple
hard links pointing to them.
If a file has multiple hard links, it is possible to create compartment
rules such that the file will have conflicting rules controlling access to it.
If you invoke
vhardlinks
without arguments, a list of mount points is taken from the
default file
/etc/cmpt/hardlinks/hardlinks.config,
which contains a list of system mount points, one per line.
If the line is commented with a
#
or if it is not the absolute path of a mount point,
it is skipped.
Output is logged to the
/var/adm/syslog/cmpt.log
file.
Options
vhardlinks
recognizes the following option:
- -m mount_point...
Specifies mount points.
mount_point
specifies the mount points to check for files with multiple hard links
when using the
-m
option.
Multiple mount points are specified as a white space separated list.
FILES
- /etc/cmpt/hardlinks/hardlinks.config
Default file; a list of system mount points.
- /var/adm/syslog/cmpt.log
Log file to which output from
vhardlinks
is directed.