\

hdiutil is deprecated in macOS 27 Golden Gate

140 points - today at 7:04 PM

Source
  • StilesCrisis

    today at 8:45 PM

    "Despite giving Apple 100% reliable steps to reproduce, they asked me if the issue still occurred in the latest beta, and if it does, then I should submit an iOS sysdiagnose." No one looked at your repro steps, and no one researched your bug. They're just looking to cull the bug list. If you don't respond immediately, your radar is closed.

      • boredatoms

        today at 8:47 PM

        Gotta pump those metrics for the PMs

          • natbro

            today at 10:01 PM

            smells more like an auto-respond or ai-respond to extant issues. we will farm out reproducing this bug to the OG, both to save us time and because if they don't complain it must be a signal this isn't important anymore.

              • lapcat

                today at 10:29 PM

                > save us time

                Selfish.

                > if they don't complain it must be a signal this isn't important anymore.

                Fallacious.

        • today at 9:12 PM

      • DrJokepu

        today at 7:47 PM

        > To conclude, I don’t understand why hdiutil needs to be deprecated when the same functionality will live on in diskutil. For some reason, Apple seems intent on breaking longtime workflows and scripts.

        Brother, it’s Apple. Any backwards compatibility is purely incidental.

          • II2II

            today at 9:07 PM

            Given Apple's reputation as of late, I was mildly shocked to learn that I could connect a SATA optical drive to my Mac with a USB-SATA bridge, right click on an image in the Finder, and tell it to burn the image to DVD. This is under the latest beta of macOS.

            You can call it incidental if you want, but it generally takes some effort to ensure everything works. That's especially true when you consider how much has changed since optical drives were common.

            As for other forms of disk images, such as software distribution, those are still a common thing in macOS.

              • cosmic_cheese

                today at 9:52 PM

                iPods and AirPort Express units from 20+ years ago still work in modern macOS too. Things have been shuffled around some (iPods are now managed with the Finder instead of in Music.app) but they still work.

                I would agree with the idea that they're not bothered about breaking workflows, particularly those involving command line tools, but hardware compatibility isn't nearly as bad as the internet might have one think. Source compatibility isn't all that bad either, many ancient Objective-C/AppKit codebases can be made to compile in an evening. It's mainly binaries that break.

                  • philistine

                    today at 9:57 PM

                    Yeah, Apple is very weary of breaking user functionality. They'll just break your app's ability to run.

                      • cosmic_cheese

                        today at 10:04 PM

                        Frankly, I don't think it's practical to expect operating systems to continue to run binaries perfectly in perpetuity. It's an enormously burdensome expectation that holds development of the platform hostage.

                        Usually all it takes to keep one's software running on macOS is compiling against the latest SDK once every ~5 years. Depending on the nature of the app, source changes often aren't even required. As a dev I don't think that's too much to ask.

            • detourdog

              today at 8:19 PM

              Diskutil has been around for over a decade and slowly getting features that hdiutil was missing.

              Things change but this is hardly some sort of sudden rug pull by Apple.

              • steve_adams_86

                today at 8:03 PM

                Haven’t they actually done a relatively good job in this regard in many ways? I can still use my 12 year old MacBook Air. It’s not super current and not all apps work, but it’s actually still a decent Apple experience. Same with our old iPad. They kept it updated way longer than I expected.

                  • bigyabai

                    today at 8:10 PM

                    > It’s not super current and not all apps work

                    That's an enormous concession, relative to Windows or Linux.

                      • mschuster91

                        today at 8:30 PM

                        > That's an enormous concession, relative to Windows or Linux.

                        Windows yes, but Linux... no, at least if it's open source.

                        Closed source apps that compile fully static, these tend to be stable and Just Run in my experience... but open source apps? Good luck trying to bring these to even compile 10 years afterwards without going through an insane dance with Docker...

                          • doodlesdev

                            today at 8:51 PM

                            While that's absolutely correct, you're arguing with a strawman. Take a look at the original quote:

                               > I can still use my 12 year old MacBook Air. It’s not super current and not all apps work, but it’s actually still a decent Apple experience.
                            
                            The point is I can run the latest Linux distributions and software on a 12 year old computer with no issues whatsoever.

                            You might be able to do that in Windows, if you bypass TPM and CPU requirements or if you stay with Windows 10 extended updates.

                            You won't be able to in macOS without OpenCore Legacy Patcher and a lot of faith in your God of choice.

                            • cavem0nkey

                              today at 9:28 PM

                              Couldn’t agree with this more. Stuff I wrote 25 years ago for NT4 still actually works on windows 10 without a recompile.

                              The Linux situation reminds me of unix back in the 90s even across distributions.

                              • serf

                                today at 10:02 PM

                                >Closed source apps that compile fully static, these tend to be stable and Just Run in my experience... but open source apps? Good luck trying to bring these to even compile 10 years afterwards without going through an insane dance with Docker...

                                who cares?

                                when a closed source app fails the door is shut for good on self-remediation, unless you want to reverse engineer/break the law.

                                when an open source app fails to compile you can choose to put the time in to get the thing working. it's not a shut door, it's just a long path.

                                  • mschuster91

                                    today at 10:27 PM

                                    > who cares?

                                    The problem is that most software people use for work is going to be closed source because the vendor wants to make money on these juicy business contracts.

                                    Linux makes a point of being very difficult to be used with closed source stuff, in kernel and userland alike (getting static compilation to work is an utter PITA), and that is a reason why commercial software written for Linux is rare, and that in turn is the dominant reason why Linux adoption on the workstation has been very slow for a very long time - until a lot of business applications shifted to the browser, making the client OS platform all but irrelevant.

                            • select1

                              today at 8:12 PM

                              On Linux, there aren't 'apps' that normal people want. Basic things like 'functional 1080p/4k Netflix' and 'commercial software' aren't really a thing.

                                • fragmede

                                  today at 8:25 PM

                                  Netflix works, just not 4k. Blender and Davinci Resolve say there's commercial software, just not actual Photoshop.

                                    • today at 8:53 PM

                                  • bel8

                                    today at 8:20 PM

                                    That's another goalpost. That's because DRM doesn't go well with Open source.

                                    • bigyabai

                                      today at 8:23 PM

                                      Correct, you have just successfully identified the reason why Windows exists. Well done!

                              • pudgywalsh

                                today at 8:07 PM

                                > Haven’t they actually done a relatively good job in this regard in many ways?

                                No.

                                Can't run current versions of any apps including Chrome, Edge, and Safari.

                                Meanwhile the hardware is perfectly fine and could run a supported version of Windows or Linux.

                                Call me when Apple has a "LTSC" version of their OS. (Spoiler: they won't, ever. Supporting Apple in an enterprise is nothing short of a nightmare.)

                                  • cosmic_cheese

                                    today at 9:58 PM

                                    This is partially on third-party devs' shoulders. There are community-maintained backports of Chromium and Mozilla for old versions of macOS, which means it isn't strictly impossible, but Google and Mozilla just don't bother and cut off compatibility earlier there than on other platforms.

                                    It's even possible to build Mac apps to run on everything from OS X 10.4 (2005) through macOS 27 (2026) across PowerPC, Intel, and Apple Silicon in a single binary. See XLD[0], which does exactly that.

                                    [0]: https://tmkk.undo.jp/xld/index_e.html

                            • amelius

                              today at 9:42 PM

                              Consumer electronics, what do you expect ...

                              • varispeed

                                today at 9:31 PM

                                Any reason to "upgrade"? I am still on Sonoma and don't see a point updating the system.

                                • today at 8:13 PM

                                  • kdkdkwjfkw

                                    today at 8:06 PM

                                    [flagged]

                                • nrabulinski

                                  today at 7:30 PM

                                  Given xip has been deprecated for a long time now, yet still is the format Xcode is distributed in, I highly doubt hidutil will ever disappear from macOS. Apple just won’t really update it anymore, just like they haven’t changed xip (not like hidutil has seen any significant changes, but still)

                                    • bbatsell

                                      today at 7:41 PM

                                      Agreed. seatbelt/sandbox-exec has been “deprecated” for many, many years yet it still underlies all of the system’s sandboxing and Claude et al. use it for their own sandboxes. (And so do I — writing seatbelt rules is the only chance I get to write lisp-flavored anything these days.)

                                        • sunshowers

                                          today at 8:43 PM

                                          This is only tangentially related, but libuv and mio's Windows implementations use the undocumented AFD readiness-based poll interface [1], since there isn't a documented readiness-based interface on Windows. The undocumented interface is now effectively stable since, among other reasons, Microsoft uses Tokio in some of its products.

                                          [1] https://github.com/tokio-rs/mio/blob/master/src/sys/windows/...

                                          • today at 8:29 PM

                                        • dieulot

                                          today at 8:01 PM

                                          Similarly, launchctl has long-deprecated subcommands. I initially tried using the new subcommands, ran into issues, and told myself I should have known the “deprecated” ones were the way to go, now and forward.

                                      • binaryturtle

                                        today at 8:58 PM

                                        So I guess ram disks are deprecated too? (AFAIR hdiutil was the only way to create them)

                                          • plorkyeran

                                            today at 9:37 PM

                                            This is one of the things the new `diskutil image` subcommand mentioned in the article supports: `diskutil image attach ram://${size}m`.

                                        • jstsch

                                          today at 7:27 PM

                                          Was the error visible somewhere through Console.app? This is a major annoyance for me with Cocoa/AppKit apps that basically have terminal usage secondary.

                                          • lukeify

                                            today at 8:51 PM

                                            > Yes, Apple requested an iOS sysdiagnose for a macOS bug

                                            Dealing with Apple's labyrinth maze that is Radar/Feedback is an exhausting nightmare, honestly. It leaves users intentionally blind as to the state of any FB's they raise, and (presumably unintentionally) gaslights users who attempt to improve the state of Apple's declining software products by repeatedly asking them for spindumps/sysdiagnoses that will subsequently either be ignored (sometimes for years), or re-requested in a future release.

                                            I gave up attempting to engage with it years ago. Apple don't want technical feedback unless it's P1 security.

                                              • kibwen

                                                today at 9:48 PM

                                                It's just not worth it for individuals to volunteer their time for the benefit of the world's most valuable company.

                                            • delduca

                                              today at 8:58 PM

                                              Rosseta too

                                              • user19282

                                                today at 8:08 PM

                                                I read this as hidutil and had a mini heart attack.

                                                • pudgywalsh

                                                  today at 8:00 PM

                                                  Pepperidge Farm remembers when they removed the Telnet client (and ntpd, and a half dozen other things) from the OS and didn't warn anyone.

                                                  • select1

                                                    today at 8:11 PM

                                                    Totally normal. March of progress. Old stuff goes away.

                                                      • KlayLay

                                                        today at 9:26 PM

                                                        diskutil is for disks (e.g., volumes) while hdiutil is for disk images ("file system as a file"). They're not two versions of the same thing, so it doesn't make sense to dub deprecating hdiutil as "progress."

                                                          • Klonoar

                                                            today at 9:54 PM

                                                            The former has been taking the latter’s job for years now.

                                                            Nobody really cares that they were originally for separate things.

                                                        • doodlesdev

                                                          today at 8:57 PM

                                                          If diskutil actually did everything OP looks for that was available in hdiutil, that's correct. If you read the post though, you'll see that diskutil has many limitations compared to its predecessor.

                                                          • applfanboysbgon

                                                            today at 10:01 PM

                                                            Progress is when we make things worse just because we can.

                                                            Username relevant as always.

                                                        • haunter

                                                          today at 7:57 PM

                                                          [flagged]

                                                            • kdkdkwjfkw

                                                              today at 8:08 PM

                                                              [flagged]

                                                                • bigyabai

                                                                  today at 8:13 PM

                                                                  I don't think they're wrong. Apple is very open about their desire to depreciate legacy tech like OpenGL and HFS to promote proprietary alternatives.

                                                                  There's a perennial churn of "Apple depreciated my favorite feature!" (I used to be one of them) and most of those people (including myself) eventually accept an alternative.

                                                                    • fragmede

                                                                      today at 8:28 PM

                                                                      It's not like ifconfig and sysvinit are well supported in Linux these days. I mean, you can, but let's not pretend that things never ever change (eg systemd and Wayland) on Linux either. Can I get non-interger display scaling yet?

                                                                        • sunshowers

                                                                          today at 8:36 PM

                                                                          > Can I get non-interger display scaling yet?

                                                                          I'm using 1.25 scale on Niri + DMS right now, on a dual 4k monitor (G9 57) at 240Hz. Probably the most demanding single monitor setup right now.