mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-09 19:36:47 +00:00
8 lines
178 B
Bash
Executable File
8 lines
178 B
Bash
Executable File
LOOP_DEVICE=$(sudo losetup -f --show -P ../bin/disk.img) \
|
|
|| exit 1
|
|
|
|
echo ${LOOP_DEVICE}p1
|
|
|
|
mkdir -p ../bin/disk_mount/
|
|
sudo mount ${LOOP_DEVICE}p1 ../bin/disk_mount/
|
|
lsblk |