makefs(8) & broken iso9660 images

Tim Kientzle tim at kientzle.com
Mon Aug 15 05:11:46 UTC 2011


On Wed Aug 10 11, Test Rat wrote:
>  $ tar tf FreeBSD-9.0-HEAD-20110810-JPSNAP-bootonly.iso | fgrep -i kernel
>  [nothing]
>  $ mount -t cd9660 /dev/$(mdconfig -f FreeBSD-9.0-HEAD-20110810-JPSNAP-bootonly.iso) /media
>  $ ls -1 /media/boot/kernel
>  aac.ko
>  accf_data.ko


As you found earlier, makefs and makeisofs lay out the disk images differently.
This has revealed a regression in libarchive that causes it to not see
the contents of certain directories.  (Specifically, it appears that any directory
that follows a non-directory on the image is ignored.)

Tim



More information about the freebsd-current mailing list