My machine is now running macOS Ventura, but I could also reproduce the issue on Monterey.
Steps to reproduce:
- Clone the repo
- Run
./sshrd.sh 16.1
The script will fail with an error hdiutil: resize: failed. Invalid argument (22)
This appears to be caused by this line in sshrd.sh:
hdiutil resize -size 210MB work/ramdisk.dmg
The README says that we can't resize the APFS DMGs on Linux machines, but it should work on macOS?
Originally posted by @chrisspankroy in verygenericname/SSHRD_Script#117
My machine is now running macOS Ventura, but I could also reproduce the issue on Monterey.
Steps to reproduce:
./sshrd.sh 16.1The script will fail with an error
hdiutil: resize: failed. Invalid argument (22)This appears to be caused by this line in
sshrd.sh:hdiutil resize -size 210MB work/ramdisk.dmgThe README says that we can't resize the APFS DMGs on Linux machines, but it should work on macOS?
Originally posted by @chrisspankroy in verygenericname/SSHRD_Script#117