1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/sys/geom/part
Andrey V. Elsukov 61162e857a MS Windows NT+ uses 4 bytes at offset 0x1b8 in the MBR to identify
disk drive. The boot0cfg(8) utility preserves these 4 bytes when is
writing bootcode to keep a multiboot ability.
Change gpart's bootcode method to keep DSN if it is not zero. Also
do not allow writing bootcode with size not equal to MBRSIZE.

PR:		kern/157819
Tested by:	Eir Nym
MFC after:	1 month
2011-06-27 10:42:06 +00:00
..
g_part_apm.c Limit number of sectors that can be addressed. 2011-05-08 12:16:39 +00:00
g_part_bsd.c Change the way how we update bootcode for BSD scheme. 2011-06-20 12:22:30 +00:00
g_part_ebr.c Do not truncate available disk space to the closest track boundary. 2011-05-25 09:38:12 +00:00
g_part_gpt.c Add some FEATURE macros for various GEOM classes. 2011-02-25 10:24:35 +00:00
g_part_if.m Reimplemented "gpart destroy -F". Now it does all work in kernel. 2010-10-25 16:23:35 +00:00
g_part_mbr.c MS Windows NT+ uses 4 bytes at offset 0x1b8 in the MBR to identify 2011-06-27 10:42:06 +00:00
g_part_pc98.c Do not truncate available disk space to the closest track boundary. 2011-05-25 09:45:13 +00:00
g_part_vtoc8.c Limit number of sectors that can be addressed. 2011-05-08 12:28:13 +00:00
g_part.c Add diagnostic message about not aligned partitions. 2011-06-03 06:58:24 +00:00
g_part.h Add new user-friendly aliases for partition types for the MBR and 2011-01-28 11:13:01 +00:00