#!/bin/bash
#  sys/tool/qemu-img - Virtual disk image support (incomplete)

set -e

lib_load 'core/exec'


######
# Native dependencies

sys_tool_qemu_img_client_packages=( qemu-utils )


######
# Public interface

qemu_img_info() { has_args 1 "$@"; run qemu-img info "$1"; }
qemu_img_mount() { has_args 2 "$@"; run_sudo losetup "$1" "$2"; }
qemu_img_umount() { has_args 1 "$@"; run_sudo losetup -d "$1"; }

View the Developer Guide Index

View the Reference Manual Index


Generated on Fri Jul 28 14:36:10 PDT 2017 by mcsh d14 v0.23.0.