pathchkcheck path names |
Command |
pathchk
[-p
]
pathname...
pathchk
checks one or more pathnames for validity and
portability (based on the underlying file system). A pathname is valid if
you can use it to create or access a file without causing a syntax error. A
pathname is portable if the file system does not truncate the name when
it tries to use it. pathchk
writes an error message
indicating the error detected and the erroneous path name if any pathname
PATH_MAX
bytes;NAME_MAX
bytes;-p
instead of using the previous criteria, writes an error message if pathname
_POSIX_PATH_MAX
bytes;_POSIX_NAME_MAX
bytes;0
All pathnames passed the check.
1
An error occurred.
2
Unknown command line option.
dirname