Circlean/shell_utils/simple_mount_image.sh

8 lines
141 B
Bash
Raw Normal View History

2017-01-06 20:11:07 +01:00
#!/bin/bash
IMAGE='2016-05-12_CIRCLean.img'
OFFSET=$((512 * 131072))
mkdir /mnt/rpi
mount -v -o offset=${OFFSET} -t ext4 ${IMAGE} /mnt/rpi