Source-Changes archive

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

CVS commit: src/distrib/common/bootimage



Module Name:    src
Committed By:   tsutsui
Date:           Tue Jan 13 14:09:02 UTC 2026

Modified Files:
        src/distrib/common/bootimage: Makefile.bootimage
Added Files:
        src/distrib/common/bootimage: diskproto2sunlabel.awk

Log Message:
bootimage: Derive sunlabel(8) input from the disklabel protofile

For USE_SUNLABEL labeling, stop hard-coding the sunlabel(8) geometry
in cylinders in Makefile.bootimage.  Instead, generate the sunlabel(8)
command stream by parsing the generated disklabel protofile with
a small awk helper.

This keeps the Sun disk label consistent with the disklabel(8) protofile
and avoids maintaining two independent sets of geometry/partition logic.

Tested with a sun3 live-image on TME.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/distrib/common/bootimage/Makefile.bootimage
cvs rdiff -u -r0 -r1.1 src/distrib/common/bootimage/diskproto2sunlabel.awk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index