HomeFreeBSD

MFC: r208777
rS209079Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

MFC: r208777

  • In gpart_bootfile_read() fix an off-by-one error preventing the bootstrap file to be of maximum size.
  • Add special handling required for SMI/VTOC8 disklabel partcode, i.e. avoid overwriting the label when writing the bootstrap code to the partition starting at 0 and install it to all partitions when the -i option is omitted just like geom_sunlabel(4) and sunlabel(8) do by default.
  • Add missing prototypes.
  • Add const where applicable.

Reviewed by: marcel

Details

Provenance
mariusAuthored on
Parents
rS209078: Detect bit endianness through machine/endian.h. This fixes xz on big-endian
Branches
Unknown
Tags
Unknown

Event Timeline