inutoc Command
Purpose
Creates a .toc file for directories that have backup format file install images. This command is used by the installp command and the install scripts.
Syntax
inutoc [ Directory ]
Description
The inutoc command creates the .toc file in Directory. If a .toc file already exists, it is recreated with new information. The default installation image Directory is /usr/sys/inst.images. The inutoc command adds table of contents entries in the .toc file for every installation image in Directory.
The installp command and the bffcreate command call this command automatically upon the creation or use of an installation image in a directory without a .toc file.
Error Codes
Item | Description |
---|---|
INUBADIR | Usage error or Directory did not specify a directory. |
INUCHDIR | Unable to change directories to Directory. |
INUCRTOC | Could not create the .toc file. |
INUGOOD | No errors occurred. |
INUSYSFL | A system call failed. |
Security
Privilege Control: Only the root user can run this command.
Attention RBAC users and Trusted AIX users: This command can perform privileged operations. Only privileged users can run privileged
operations. For more information about authorizations and privileges, see Privileged Command
Database in Security. For a list of privileges and the
authorizations associated with this command, see the lssecattr command or the
getcmdattr subcommand.
Examples
- To create the .toc file
for the /usr/sys/inst.images directory, enter:
inutoc
- To create a .toc file
for the /tmp/images directory, enter:
inutoc /tmp/images
Files
Item | Description |
---|---|
/usr/sys/inst.images | The default directory to create a .toc file. |
.toc | The file created by this command in the specified directory. |