summaryrefslogtreecommitdiffstats
path: root/tests/ts/losetup/losetup_functions.sh
blob: d17c82a30fb4e952e34ab02ecb6324e3d1f738a6 (plain)
1
2
3
4
5
6
7
function lo_print {
	local lo=$1
	echo "offset:    $( $TS_CMD_LOSETUP --list --raw -n -O OFFSET $lo )"
	echo "sizelimit: $( $TS_CMD_LOSETUP --list --raw -n -O SIZELIMIT $lo )"
	echo "size:      $( $TS_CMD_LSBLK -o SIZE -b -n -r $lo )"
}