Use ISO 9660 format in create_iso under darwin #13561
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently
create_iso
in darwin produces CD image with hybrid format HFS+ISO 9660 This is less interoperable than ISO 9660 alone. In particular, CD label is not readable by theudev
and breaks some automated configuration system.Here are the command output on Ubuntu guest:
sudo blkid -o udev -p /dev/sr0
ID_FS_BLOCK_SIZE=2048
ID_FS_FSSIZE=55296
ID_FS_SYSTEM_ID=APPLE\x20INC.\x2c\x20TYPE:\x200002
ID_FS_VOLUME_SET_ID=
ID_FS_PUBLISHER_ID=
ID_FS_DATA_PREPARER_ID=
ID_FS_APPLICATION_ID=
ID_FS_UUID=2024-12-29-15-35-20-00
ID_FS_UUID_ENC=2024-12-29-15-35-20-00
ID_FS_VERSION=Joliet\x20Extension
ID_FS_LABEL=cidata
ID_FS_LABEL_ENC=cidata
ID_FS_TYPE=iso9660
ID_FS_USAGE=filesystem
ls /dev/disk/by-label
Environment:
Host:
VMware Fusion 13.6.2 on MacOS
Guest:
Linux ubuntu 6.8.0-49-generic #49-Ubuntu SMP PREEMPT_DYNAMIC Sun Nov 3 21:21:58 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux