Unmounts a previously mounted image file on a loopback device and then removes the device.
loopumount { -i imagefile | -l device } [-o umount options -m mountpoint ]
This command is similar to umount except that it unmount the file and deletes the loopback device associated with the mount point if the temporary attribute for the loopback device in CuAt is set to yes, and then unmounts it. All the restrictions and features of the umount command apply to loopumount also.
Item | Description |
---|---|
-i | Specify an image file name such as an ISO image. This must be specified if –l is not specified. |
-l | ODM name of a loopback device such as loop0, loop1, etc. This must be specified if –i is not specified. |
-o | Options for the umount command. |
-m | Mount point such as /mnt. |
If -i and –l both are specified, -i is ignored.
Security
Privilege Control: Only the root user and members of the system group should have execute (x) access to 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
$ loopumount –i cdrom.iso –o "/mnt"
$ loopumount –l loop2 –o "/mydisk"
Item | Description |
---|---|
/usr/sbin/loopumount | Contains the loopumount command. |