#!/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 Script Reference Index


Generated on Tue Apr 25 21:21:26 PDT 2017 by mcsh i7 v0.18.0.