#!/bin/bash VG=${1:-vg0} VOL=${2:-devuan-base} PART=${3:-1} mkdir /tmp/$VOL mount -o offset=1048576 /dev/$VG/$VOL /tmp/$VOL