gtpi1m57 | System Installation Support Reference |
The TPF file system initialization user exit, UBOT, allows you to set up your own initial directories, files, special files, symbolic links, access modes, user IDs, and group IDs. UBOT is called immediately after the root directory and base-level special files have been created by the CBOT segment during file system initialization.
Input
When UBOT is called, UID=0 and GID=1; therefore, this user exit has authority to access or change any file or directory.
The table that follows shows the initial file system values that are set up
by the TPF file system initialization program (CBOT). These values are
shown to give you an idea about how to code the initial values for your own
directories, files, special files, symbolic links, access modes, user IDs, and
group IDs.
Table 6. Initial File System Values
Name | Description | UID | GID | Access | Maj/Min Device # |
---|---|---|---|---|---|
/ | Root directory | 0 | 1 | S_IRWXU S_IRWXG S_IRWXO | N/A |
/dev | Special file directory | 0 | 1 | S_IRWXU S_IRGRP S_IXGRP S_IROTH S_IXOTH | N/A |
/dev/null | Null special file | 0 | 1 | S_IRUSR S_IWUSR S_IRGRP S_IWGRP S_IROTH S_IWOTH | 80010000 |
/dev/tpf.omsg | Output message special file | 0 | 1 | S_IWUSR S_IWGRP S_IWOTH | 00000000 |
/dev/tpf.imsg | Input message special file | 0 | 1 | S_IRUSR S_IRGRP S_IROTH | 00010000 |
/usr | User file directory | 0 | 1 | S_IRWXU S_IRWXG S_IRWXO | N/A |
Return Values
The UBOT user exit returns one of the following values to CBOT: