1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00
freebsd/sys/geom/part
Warner Losh 5c9f0f72f4 gpart: Be less picky about GPT Tables in some cases
When we're recoverying a damangae GPT, or when we're restoring a backed
up partition tables, don't enforce the 4k alignment for start/end LBAs.
This is useful for 512e/4kn drives when we're creating a new partition
table or partition. However, when we're trying to fix / restore an old
partition, we shouldn't force this alignment, since in that case it's
more important to use the partition table as is than to optimize
performance by rounding (which isn't required by the standard).

MFC After:		1 week
Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D42359
2023-10-26 10:14:54 -06:00
..
g_part_apm.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
g_part_bsd64.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
g_part_bsd.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
g_part_ebr.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
g_part_gpt.c gpart: Be less picky about GPT Tables in some cases 2023-10-26 10:14:54 -06:00
g_part_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
g_part_ldm.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
g_part_mbr.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
g_part.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
g_part.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00