Change ISO volume label on OS X? I have some ISO files here with weird volume labels. I want to rename them to something I can easily remember.

I know in Windows using either winiso or poweriso (both are non-free?) it can be done but I'm not so sure in OS X. I did search the net but nothing useful came up.

Thanks!

edit: I believe it's best explained with an example:

I have an ISO file called "myiso.iso". When I double-click on the ISO file to mount it, it appears as "myweirdname" in Finder."myweirdname" is the ISO Volume name.
There is no direct way, that I know of, natively in OS X to edit the volume label/name of an ISO Image as can be done by using, e.g., UltraISO in Windows.  In other words, with the proper preferences set for UltraISO the volume label/name can be changed and saved to the ISO Image without recompiling it. I actually use UltraISO under OS X via Wine for this very reason.

Although this cannot be done natively directly under OS X, nonetheless it can be done using hdiutil by creating a new ISO Image from the mounted ISO Image having the volume label/name wanting to be changed.

You'll need to use the hdiutil imageinfo command, e.g. hdiutil imageinfo $NAME.ISO, to get the necessary information to configure the hdiutil makehybrid command to make the new ISO Image having the volume label/name that your want, instead of what it currently is. Have a look at the man page for hdiutil or just type hdiutil makehybrid -help in Terminal.

As an example, I'm going to use an ISO Image, of a DVD, that does not contain any DRM, as the source has to be DRM free.

The key info I'm looking at is, partition-scheme:, partition-name: and partition-filesystems: showing respectively, ISO9660, $NAME, and both ISO9660: $NAME and UDF: $NAME where $NAME is shown as, e.g., FOO_BAR_WEIRD in all three places.

I just want it to say FOO_BAR, getting rid of the WEIRD part, so my command line will be as follows, after first mounting the FOO_BAR_WEIRD.ISO image by double-clicking it in Finder, in Terminal I used the following command:

hdiutil makehybrid -iso -udf -iso-volume-name FOO_BAR -udf-volume-name FOO_BAR -o FOO_BAR.ISO /Volumes/FOO_BAR_WEIRD


I then used hdiutil imageinfo FOO_BAR.ISO and compared it to the output of hdiutil imageinfo FOO_BAR_WEIRD.ISO and it showed it has the same partition-scheme: and partition-filesystems: but different $NAME, as it should. The file size was ~.5MB larger however the newly created ISO Image had the name I wanted and played just fine as the original did.

So, it's doable but it takes a little time, work and extra disk space, which is why I run UltraISO via Wine under OS X. :)

Note: I tested this using a DRM free ISO Image of a Movie DVD and may require additional command line options and or additional steps depending on the type and contents of the ISO image.