diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2022-05-24 17:29:03 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2022-05-24 17:29:03 +0000 |
commit | 10a7e32e9e76392c122b7c7e7be1e788649e5b14 (patch) | |
tree | a82c1fa0592c2ec1b4b04bda79ae33f72f4411f4 /sys/arch/amd64/stand | |
parent | e47056b361906c9da8853d0c7d5a8457c9945c48 (diff) |
fdisk(8) no longer uses the partition table it finds in
/usr/mdec/mbr. Make the partition table all zeros and
see if any hidden uses fall out.
ok deraadt@
Diffstat (limited to 'sys/arch/amd64/stand')
-rw-r--r-- | sys/arch/amd64/stand/mbr/mbr.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/stand/mbr/mbr.S b/sys/arch/amd64/stand/mbr/mbr.S index 8a9a4d26b5e..2b00826dd0c 100644 --- a/sys/arch/amd64/stand/mbr/mbr.S +++ b/sys/arch/amd64/stand/mbr/mbr.S @@ -1,4 +1,4 @@ -/* $OpenBSD: mbr.S,v 1.5 2012/06/04 16:17:04 mglocker Exp $ */ +/* $OpenBSD: mbr.S,v 1.6 2022/05/24 17:29:02 krw Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff and Tobias Weingartner @@ -562,8 +562,8 @@ pt: .long 0,0 .byte 0x0,0,0,0,0,0,0,0 .long 0,0 - .byte DOSACTIVE,0,1,0,DOSPTYP_OPENBSD,255,255,255 - .long 0,0x7FFFFFFF + .byte 0x0,0,0,0,0,0,0,0 + .long 0,0 /* the last 2 bytes in the sector 0 contain the signature */ . = 0x1fe signature: |