mkusil Command

Purpose

Creates or attaches a new user-specified installation location (USIL) instance.

Syntax

mkusil -R RelocatePath -c Comments [-XFa]

Description

The mkusil command creates or attaches a new USIL instance.

A user-specified installation location (USIL) is a tracked, relocated installation path that is created by the administrator. The location is tracked by the system and can be used as an alternate installation path for packages that use relocation of file sets or software. Multiple instances or versions of the same software package can be installed on a single system by delegating each installation to a separate USIL. An existing USIL instance can be attached or detached from any given system.

Each USIL instance maintains its own set of Software Vital Product Data (SWVPD) in three installp parts:
  • InstallRoot/etc/objrepos
  • InstallRoot/usr/lib/objrepos
  • InstallRoot/usr/share/lib/objrepos
Tip: Current SWVPD object classes include product, lpp, inventory, history, fix, vendor, and lag. Each USIL instance mirrors the default SWVPD structure within the relocated path.

Flags

Item Description
-a Attaches an existing installation as a USIL instance.
-c Comments Specifies the comments to include in the USIL definition.
-F Overwrites the existing USIL SWVPD in the target path without prompting you. It is appropriate to use this flag for USIL SWVPDs that are detached or removed by the rmusil command.
-R RelocatePath Specifies the path to a new USIL location, which must be a valid directory. The directory cannot belong to a file system with the CIO mount option.
-X Expands the space needed automatically.

Security

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 AIX® Version 7.1 Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.

Files

Item Description
/usr/sbin/mkusil Contains the mkusil command.