Open System Services System Calls Reference Manual (G06.25+, H06.03+)
chroot(2) OSS System Calls Reference Manual
[ENOENT] One of the following conditions exists:
• The named directory does not exist.
• The specified pathname is an empty string.
• The specified pathname cannot be mapped to a valid Guardian filename.
[ENOROOT] The root fileset (fileset 0) is not in the STARTED state.
[ENOTDIR] A component of the specified pathname is not a directory.
[ENXIO] The fileset containing the client’s working directory or effective root directory is
not mounted.
[EOSSNOTRUNNING]
The program attempted an operation on an object in the OSS environment while
a required system process was not running.
[EPERM] One of the following conditions exists:
• The path parameter specifies a subvolume in /G with a reserved name
(for example, /G/volume/ZYQ00000).
• The path parameter specifies a process name in /G (for example,
/G/ztnt).
• The path parameter specifies an invalid subvolume name in /G.
• The process does not have appropriate privileges.
RELATED INFORMATION
Commands: cd(1).
Functions: chdir(2).
STANDARDS CONFORMANCE
The following are HP extensions to the XPG4 Version 2 specification:
• The errno values [EFAULT], [EFSBAD], [EINVAL], [ENOROOT], [ENXIO], and
[EOSSNOTRUNNING] can be returned.
1−24 Hewlett-Packard Company 527186-003