I guess it's entirely plausible stuff behaves differently on either newer macOS releases and/or aarch64 chips. Someone with one of those will have to check, though, as my old Air is still running an old release w/ x86 support.
Not near it right now, but I'd check if the diskutil call needs some tweaks. Which wouldn't surprise me, because attempting to "parse" XML via a dumb grep, tail & cut pipeline was bound to break at some point ;p.
Last edited by NiLuJe; 02-17-2022 at 08:10 PM.
|