hdiutil: Creating case-sensitive image fs for Steam
0
votes
1
answer
941
views
I'm attempting to use Steam on my Mac, but I set up my system to have case-sensitivity.
Steam has a thread for setting up an image file with a case-sensitive file system , however, I'm finding that it doesn't work.
Regardless of whether I create the sparse image from Disk Utility or from
hdiutil
, I get a mount-error.
hdiutil: attach failed - no mountable file systems
However, as far as I can tell I've created the file correctly?
#!/usr/bin/env bash
set -e
MOUNTPT="/.000"
SPARSEIMG="/Users/Shared/Steam/steam.sparseimage"
if [ ! -e "${MOUNTPT}" ]; then
echo "sudo mkdir -m0777 ${MOUNTPT}"
sudo mkdir -m0777 "${MOUNTPT}"
fi
if [ ! -e "${SPARSEIMG}" ]; then
hdiutil create -type SPARSE -fs 'Case-sensitive Journaled HFS+' -size 32g "${SPARSEIMG}"
fi
hdiutil attach -mountpoint "${MOUNTPT}" -nobrowse "${SPARSEIMG}"
Can anyone tell me what I am not doing correctly?
UPDATE:
The image that's created mounts properly in Disk Utility, but does not with hdiutil
Asked by Nikole
(101 rep)
Jul 26, 2016, 12:27 AM
Last activity: Sep 15, 2018, 09:00 AM
Last activity: Sep 15, 2018, 09:00 AM