mirror of
https://github.com/thamugadi/powerpc-ofw-boot.git
synced 2025-08-05 22:25:33 +00:00
Create kpartx.bash
This commit is contained in:
4
kpartx.bash
Normal file
4
kpartx.bash
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
LOOP=$(sudo kpartx -s -a -v APMdisk | awk -F'[ ]' '{print $3}' | tail -n1 )
|
||||
sudo mkfs.hfsplus /dev/mapper/$LOOP
|
||||
sudo mount -o loop /dev/mapper/$LOOP /mnt/
|
Reference in New Issue
Block a user