Skip to content

Commit

Permalink
docs: document that pmbr shouldn't be used unless nedded
Browse files Browse the repository at this point in the history
  • Loading branch information
richardstephens committed Feb 29, 2024
1 parent 4826758 commit c093539
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1246,6 +1246,10 @@ impl GPT {
/// MBR partition table is marked as bootable. Some legacy BIOS systems do not consider a disk
/// to be bootable if there isn't an MBR partition marked as bootable in the MBR partition
/// table.
///
/// <div class="warning">Some systems will not consider a disk to be bootable in UEFI mode
/// if the pMBR is marked as bootable, so this should only be used if booting on legacy BIOS
/// systems is a requirement.</div>
pub fn write_bootable_protective_mbr_into<W: ?Sized>(
mut writer: &mut W,
sector_size: u64,
Expand Down

0 comments on commit c093539

Please sign in to comment.