Next | Prev | Up | Top | Contents | Index

Administrative Menu Commands

The list below describes all commands (including hidden commands) that appear on the Administrative Commands menu.

config

Use the config command to list the configuration files that are installed on the target. Configuration files are marked with an m in the first column if their size or checksum is different from the originally installed version. Use config changed to list the names of configuration files for which a corresponding .O (older) or .N (newer) version was created.

The .O version of a configuration file is the version of the file that was obsoleted by the software installation. The version without the .O suffix contains changes that are required for compatibility with the rest of the newly installed software, for increased functionality, or to correct bugs. Use diff or gdiff to compare the two versions of the files and transfer information that you recognize as machine- or site-specific from the .O version to the no-suffix version (see the diff(1) or gdiff(1) reference page).

When a .N version of a configuration file is created, it is a new, recommended version of the file. It contains changes or new features that can be added to the no-suffix version of the file at your option. Use diff or gdiff to compare the two versions of the files and add the .N version changes to the no-suffix version if you want them (see the diff(1) or gdiff(1) reference page).

date

Use the date command with no arguments to display the system date. Enter arguments described in the date(1) reference page to change the date.

files

Use the files command to list the names and other information about the files that make up a subsystem or group of subsystems. The other information includes any pending selection for the file (that is, install, remove, or keep); the installation state; the subsystem name; disk space delta; and file type. See "The files Command" for more information.

hardware

Use the hardware command to display information about the internal architecture and components of the target system.

help

Use the help command to display Inst online help. Help is available on all topics listed in Table A-1.

load

Use the load command to open a file that was created with the save command to contain a custom selection of software. Also see the discussion of save.

mkfs

Use the mkfs command to create a new filesystem (replaces the clean command found in earlier versions of Inst). You can use mkfs in miniroot installations only.

If a disk is new or if the current contents of the disk or filesystem are to be completely removed (cleaned), you can use mkfs to make new, empty filesystems. By default, new filesystems are made on the root (/) and user (/usr) filesystems. Partition 0 of a system disk is assumed to be the root filesystem (/); partition 6 (if present) is assumed to be the /usr filesystem.

When you use mkfs, specify the name of the disk device to be used for the filesystem. For example, the following command

mkfs /dev/dsk/dks0d1s6

creates an empty filesystem on partition 6.

All existing files, including all directories, programs, configuration files, and data, are lost when a new filesystem is made. You will be warned if a filesystem is already on the named device, and prompted for a confirmation before any new filesystem is made.

mount

Use the mount command without arguments to display mounted filesystems. Use mount with arguments to change the default mounts or add new mount points that are unknown to Inst. The two arguments are the block device name and the mount point. The mount command with arguments can be used during miniroot installations only.

recalculate

Use the recalculate command to initiate a disk space calculation. The recalculate command identifies the current amount of free disk space, the size of each subsystem, and the amount of disk space that will be consumed if the subsystem is installed or freed if it is removed.

If the detailspacecheck preference is off, or if files were created or removed in another shell, use recalculate to resynchronize space information.

return

The return command returns control to the Main menu from the Administrative Commands menu. You can also use return to execute a Main menu command from the Administrative Commands menu, as shown in this example:

Admin> return go

save

Use the save command to copy the current custom selections of software to a file that you can later open using the load command (also see the discussion of load).

set

Use the set command to examine and change the settings of variables called preferences. If you provide no arguments, the current settings are displayed. If you provide the name and a value, the preference value is changed.

Most preference settings are saved in the installation history when you enter the quit command, and are restored the next time that you invoke Inst. "The Preferences List" describes set preferences in detail.

sh

Use the sh command with no arguments to invoke an IRIX shell. Include a single IRIX command as an argument to execute the command immediately (see "The sh and shroot Commands" for additional information).

shroot

Use the shroot command with no arguments to invoke a "chrooted" IRIX shell (see the chroot(1M) reference page). If you provide arguments, they are taken as a single IRIX command to be executed immediately.

The shroot command uses the chroot(2) system call to invoke the shell as if /root were its root directory; that is, /root becomes / for all references. Thus files can be referred to with their normal pathnames (see "The sh and shroot Commands" for additional information).

space

Use the space command to display a disk space summary; the displayed summary is the same as the list command if the set preference delayspacecheck is off. If delayspacecheck is on, the space command forces the disk space calculation to be performed and displays the disk space summary.

sethostname

Use the sethostname command to set the hostname of the target system; this command restarts networking using the new hostname. The sethostname command can be used in miniroot installations only.

sethostipaddr

Use the sethostipaddr command to set the IP address of the target system; this command restarts networking using the new IP address. The sethostipaddr command can be used in miniroot installations only.

umount

Use the umount command to unmount disks that Inst has mounted by default or that have been mounted with the mount command. The filesystem name remains in the Inst device table even after the filesystem is unmounted. In some cases, filesystems mounted under the specified filesystem must be unmounted first.


Next | Prev | Up | Top | Contents | Index