mirror of
https://github.com/thamugadi/powerpc-ofw-boot.git
synced 2024-06-01 02:41:35 +00:00
5 lines
165 B
Bash
5 lines
165 B
Bash
#!/bin/sh
|
|
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/
|