makefs vs. mkisofs ------------------ directories: * root: - built root filesystem with packages (i.e., /usr/local) * root_makefs: - create iso by using makefs(8) with RockRidge extension, i.e., > makefs -t cd9660 \ -o rockridge \ -o label="DragonFly_v6_5_x" \ -o publisher="The DragonFly Project" \ -o bootimage="i386;boot/cdboot" -o no-emul-boot \ -o bootimage="efi;boot/efiboot.img" -o no-emul-boot \ ../dfly_makefs.iso . - mount iso - cpdup * root_mkisofs: - create iso by using 'mkisofs -J -R', i.e., with RockRidge and Joliet extensions, i.e., > mkisofs -R -J \ -o ../dfly_mkisofs.iso \ -b boot/cdboot -no-emul-boot \ -eltorito-alt-boot -eltorito-platform efi -eltorito-boot boot/efiboot.img -no-emul-boot \ -V DragonFly_v6.5.0.804.gXXX . - mount iso - cpdup iso infos: * dfly_makefs.info.txt: isoinfo -d -i dfly_makefs.iso ------ CD-ROM is in ISO 9660 format System id: DragonFly Volume id: DRAGONFLY_V6_5_X Volume set id: Publisher id: THE DRAGONFLY PROJECT Data preparer id: Application id: Copyright File id: Abstract File id: Bibliographic File id: Volume set size is: 1 Volume set sequence number is: 1 Logical block size is: 2048 Volume size is: 1294326 El Torito VD version 1 found, boot catalog is in sector 19 NO Joliet present SUSP signatures version 1 found Rock Ridge signatures version 1 found Rock Ridge id 'IEEE_P1282' Eltorito validation header: Hid 1 Arch 0 (x86) ID '' Cksum AA 55 OK Key 55 AA Eltorito defaultboot header: Bootid 88 (bootable) Boot media 0 (No Emulation Boot) Load segment 0 Sys type 0 Nsect 4 Bootoff DC 220 ------ * dfly_mkisofs.info.txt: isoinfo -d -i dfly_mkisofs.iso ------ CD-ROM is in ISO 9660 format System id: DragonFly Volume id: DragonFly_v6.5.0.804.gXXX Volume set id: Publisher id: Data preparer id: Application id: MKISOFS ISO9660/HFS/UDF FILESYSTEM BUILDER & CDRECORD CD/DVD/BluRay CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING Copyright File id: Abstract File id: Bibliographic File id: Volume set size is: 1 Volume set sequence number is: 1 Logical block size is: 2048 Volume size is: 1300614 El Torito VD version 1 found, boot catalog is in sector 17169 Joliet with UCS level 3 found. SUSP signatures version 1 found Rock Ridge signatures version 1 found Rock Ridge id 'RRIP_1991A' Eltorito validation header: Hid 1 Arch 0 (x86) ID '' Cksum AA 55 OK Key 55 AA Eltorito defaultboot header: Bootid 88 (bootable) Boot media 0 (No Emulation Boot) Load segment 0 Sys type 0 Nsect 4 Bootoff 4312 17170 ------ list command: > find -s ${dir} -print0 | xargs -0 -n 1 ls -ldnoF list files: * root.list: list of the 'root' dir * root_makefs.list: list of 'root_makefs' dir * root_mkisofs.list: list of 'root_mkisofs' dir diff files: * root_makefs.diff: diff -u root.list root_makefs.list * root_mkisofs.diff: diff -u root.list root_mkisofs.list * mkisofs_makefs.diff: diff -u root_mkisofs.list root_makefs.list