run_hook () { # Format and run immediately cow_device if [[ "${format}" == "y" ]]; then sfdisk -l read -p "Welches Laufwerk soll eine cow_device erhalten? /dev/sda : " formatdevice [[ -z "${formatdevice}" ]] && formatdevice=/dev/sda fdisk ${formatdevice} <