Previous | Contents | Index |
Defines the POSIX root for the system.
SET ROOT device-name:directory-spec
device-name:directory-spec
Defines the root pathname.
In POSIX pathname processing mode, RMS and the C Run-Time Library treat the leading slash (/) of a pathname as referring to the defined root. By default, the root is SYS$SYSDEVICE:[PSX$ROOT]. The root definition does not persist across a reboot. The SET ROOT commands requires SYSNAM privilege and has the following qualifier:
/LOG (default)
/NOLOG
Controls whether the SET ROOT command displays a success indication after the root definition is set.
$ SHOW ROOT DISK$ALPHASYS:[000000] $ SET ROOT DISK$ALPHASYS:[PSX$ROOT] %SET-I_SXROOSET, system POSIX root set to DISK$ALPHASYS:[PSX$ROOT] $ SHOW ROOT DISK$ALPHASYS:[PSX$ROOT] $ |
This command displays the current root, sets the root to DISK$ALPHASYS:[PSX$ROOT], and verifies that it has been changed.
Previous | Next | Contents | Index |