NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/59783: Can't mount the "special" SGI volume formatted cd9660





On Sat, 22 Nov 2025 at 10:05, Izumi Tsutsui via gnats <gnats-admin%netbsd.org@localhost> wrote:

 This is because the CD-ROM image for sgimips includes
 teh SGI volume header before ISO9660 (for its ARC BIOS)
 and it has certain offset (more than 32KB for usual ISO9660).

 In most case ISO9660 images don't include explicit disklabel
 (i.e. raw struct cpu_disklabel) data in the disk image
 and it should be handled by MD disklabel routines.
 However most ports assume ISO9660 has no such offset.

 > >Fix:
 > from mlelstv on irc; I've tested this and it fixes it.

 IIRC one annoying issue is sector size on ISO (usually 2048).
 If we are trying to offset in actual disklabel, we have
 to check carefully all values are consistent (in 512 bytes
 or 2048 bytes etc).


Yeah it's a bit of a minefield, that's for sure.

it's just that the installer can't mount its own CD-ROM image to install, and i would like to fix that!



-adrian
 
 Thanks,
 ---
 Izumi Tsutsui



Home | Main Index | Thread Index | Old Index