Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ISO 9660 format in create_iso under darwin #13561

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

eszense
Copy link

@eszense eszense commented Dec 29, 2024

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 the udev and breaks some automated configuration system.
Here are the command output on Ubuntu guest:

HFS+ISO 9660 ISO 9660
sudo blkid -o udev -p /dev/sr0 ID_PART_TABLE_TYPE=mac ID_FS_FSBLOCKSIZE=2048
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 BOOT UEFI cidata cloudimg-rootfs BOOT UEFI cloudimg-rootfs cidata

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

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 the udev and breaks some automated configuration system.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant