dafi
August 26, 2026, 9:22am
1
Starting with Golden Gate, `hdiutil’ will be deprecated .
I use it to create case-sensitive RAM disks, so I can check for regressions or problems with my software. The commands are:
diskutil erasevolume 'Case-sensitive HFS+' DafiVolume
hdiutil attach -nomount ram://1048576
But there’s no news of alternatives via diskutil or other commands.
Is it just me who can’t find anything, or is Apple really removing them but not offering alternatives?
PS
I realize there are only three or four of us in the world who do this.
I have never had the need to create a RAM disk since, well, 1996 or so. Didn’t even know you could use hdiutil for that, but it seems that train just went by me.
Gemini says this, I don’t have access to a Golden Gate installation right now, but everything seems even slightly simpler:
diskutil erasevolume HFS+ ‘RAM Disk’ $(diskutil image attach ram://2g)
This is in line with the guidance provided in the article you mentioned , that “diskutil image” now supersedes the older hdiutil.
2 Likes
zkarj
August 26, 2026, 10:13pm
4
Just a note that you’ll still be good for at least a year. Deprecated ≠ removed.
1 Like
dafi
August 27, 2026, 4:44am
5
Oh oh, Gemini is better than Claude, this works on Golden Gate and Sequoia
diskutil erasevolume 'Case-sensitive HFS+' 'MyRamDisk' $(diskutil image attach ram://1048576)
dafi
August 27, 2026, 4:46am
6
Absolutely true! But if possible, why not adapt in time? If the solution exists (and fortunately in this case it does) and it’s non-invasive, I prefer to move forward.
1 Like