gctf2023/pwn/flipper/dist/utils/mount.sh

14 lines
290 B
Bash
Raw Permalink Normal View History

2023-11-24 18:11:34 +00:00
#
# mount.sh
# mounts the SWEB-flat.vmdk image file to linux
#
mkdir /mnt/sweb
mkdir /mnt/sweb/part0
mkdir /mnt/sweb/part1
mkdir /mnt/sweb/part2
mkdir /mnt/sweb/part3
losetup /dev/loop4 ../sweb-bin/SWEB-flat.vmdk
losetup -o 10321920 /dev/loop5 /dev/loop4
mount /dev/loop5 /mnt/sweb/part1