7 ms·
Totally normal. March of progress. Old stuff goes away.
by select1 25d ago
Totally normal. March of progress. Old stuff goes away.
- doodlesdev 25d agoIf 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.
- KlayLay 25d agodiskutil 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 25d agoThe former has been taking the latter’s job for years now. Nobody really cares that they were originally for separate things.
- KlayLay 25d agoWhat are you talking about? You can't operate on disk images with diskutil outside of the few commands diskutil image gives you. For example, if you need to check whether or not a disk image is encrypted, you can use hdiutil info and hdiutil isencrypted. If you use diskutil image info, you may be prompted for a password, which doesn't make sense to handle in a program. A disk image is not just a fancy disk. Disks and disk images operate on different planes, which is why the distinction between diskutil and hdiutil exists.
- applfanboysbgon 25d agoProgress is when we make things worse just because we can. Username relevant as always.