pathchk — Check Path Names
Synopsis
/usr/bin/pathchk [-p] path...
Description
The pathchk command checks that one or more path names are valid (that is, they could be used to access or create a file without causing syntax errors) and that they are portable (that is, no file-name truncation results). More extensive portability checks are provided by the -p option.
By default, pathchk checks each component of each path operand based on the underlying file system. A diagnostic is written for each path operand that:
Is longer than PATH_MAX bytes.
Contains any component longer than NAME_MAX bytes in its containing directory.
Contains any component in a directory that is not searchable.
Contains any character in any component that is not valid in ...
Get Solaris™ 7 Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.