9 lines
246 B
Plaintext
9 lines
246 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
#
|
||
|
# Mount a full-disk image as a loopback device so you can mount individual partitions from inside of it.
|
||
|
set -euo pipefail
|
||
|
IFS=$'\n\t'
|
||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||
|
|
||
|
udisksctl loop-setup -r -f "$1"
|