mirror of
https://github.com/thamugadi/powerpc-ofw-boot.git
synced 2025-01-03 13:29:40 +00:00
Update and rename kpartx.bash to kpartx.sh
This commit is contained in:
parent
071a000ae9
commit
64fec7854b
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
LOOP=$(sudo kpartx -s -a -v APMdisk | awk -F'[ ]' '{print $3}' | tail -n1 )
|
LOOP=$(sudo kpartx -s -a -v APMdisk | awk -F'[ ]' '{print $3}' | tail -n1 )
|
||||||
sudo mkfs.hfsplus /dev/mapper/$LOOP
|
sudo mkfs.hfsplus /dev/mapper/$LOOP
|
||||||
sudo mount -o loop /dev/mapper/$LOOP /mnt/
|
sudo mount -o loop /dev/mapper/$LOOP /mnt/
|
Loading…
Reference in New Issue
Block a user