git: d98a4eb807e9 - main - mkimg: Add fat32lba partition type
Ed Maste
emaste at FreeBSD.org
Tue Jun 22 01:05:54 UTC 2021
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=d98a4eb807e972ac207264043ba3c50ba94f5df5
commit d98a4eb807e972ac207264043ba3c50ba94f5df5
Author: Jose Luis Duran <jlduran at gmail.com>
AuthorDate: 2021-06-18 14:55:24 +0000
Commit: Ed Maste <emaste at FreeBSD.org>
CommitDate: 2021-06-22 01:04:58 +0000
mkimg: Add fat32lba partition type
Syntactic sugar for a `gpart add -t '!12' ...` equivalent.
Reviewed by: emaste
Pull Request: https://github.com/freebsd/freebsd-src/pull/484
---
usr.bin/mkimg/ebr.c | 1 +
usr.bin/mkimg/mbr.c | 1 +
usr.bin/mkimg/scheme.c | 1 +
usr.bin/mkimg/scheme.h | 1 +
4 files changed, 4 insertions(+)
diff --git a/usr.bin/mkimg/ebr.c b/usr.bin/mkimg/ebr.c
index a069982e7aa3..bee2e64bea14 100644
--- a/usr.bin/mkimg/ebr.c
+++ b/usr.bin/mkimg/ebr.c
@@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$");
static struct mkimg_alias ebr_aliases[] = {
{ ALIAS_FAT16B, ALIAS_INT2TYPE(DOSPTYP_FAT16) },
{ ALIAS_FAT32, ALIAS_INT2TYPE(DOSPTYP_FAT32) },
+ { ALIAS_FAT32LBA, ALIAS_INT2TYPE(DOSPTYP_FAT32LBA) },
{ ALIAS_FREEBSD, ALIAS_INT2TYPE(DOSPTYP_386BSD) },
{ ALIAS_NONE, 0 }
};
diff --git a/usr.bin/mkimg/mbr.c b/usr.bin/mkimg/mbr.c
index 46767ea96d06..e52e9df7ca64 100644
--- a/usr.bin/mkimg/mbr.c
+++ b/usr.bin/mkimg/mbr.c
@@ -44,6 +44,7 @@ static struct mkimg_alias mbr_aliases[] = {
{ ALIAS_EFI, ALIAS_INT2TYPE(DOSPTYP_EFI) },
{ ALIAS_FAT16B, ALIAS_INT2TYPE(DOSPTYP_FAT16) },
{ ALIAS_FAT32, ALIAS_INT2TYPE(DOSPTYP_FAT32) },
+ { ALIAS_FAT32LBA, ALIAS_INT2TYPE(DOSPTYP_FAT32LBA) },
{ ALIAS_FREEBSD, ALIAS_INT2TYPE(DOSPTYP_386BSD) },
{ ALIAS_NTFS, ALIAS_INT2TYPE(DOSPTYP_NTFS) },
{ ALIAS_PPCBOOT, ALIAS_INT2TYPE(DOSPTYP_PPCBOOT) },
diff --git a/usr.bin/mkimg/scheme.c b/usr.bin/mkimg/scheme.c
index c81182837b2e..5afe3245a2ba 100644
--- a/usr.bin/mkimg/scheme.c
+++ b/usr.bin/mkimg/scheme.c
@@ -47,6 +47,7 @@ static struct {
{ "efi", ALIAS_EFI },
{ "fat16b", ALIAS_FAT16B },
{ "fat32", ALIAS_FAT32 },
+ { "fat32lba", ALIAS_FAT32LBA },
{ "freebsd", ALIAS_FREEBSD },
{ "freebsd-boot", ALIAS_FREEBSD_BOOT },
{ "freebsd-nandfs", ALIAS_FREEBSD_NANDFS },
diff --git a/usr.bin/mkimg/scheme.h b/usr.bin/mkimg/scheme.h
index 86b92a372860..00c1b7f516c9 100644
--- a/usr.bin/mkimg/scheme.h
+++ b/usr.bin/mkimg/scheme.h
@@ -36,6 +36,7 @@ enum alias {
ALIAS_EFI,
ALIAS_FAT16B,
ALIAS_FAT32,
+ ALIAS_FAT32LBA,
ALIAS_FREEBSD,
ALIAS_FREEBSD_BOOT,
ALIAS_FREEBSD_NANDFS,
More information about the dev-commits-src-all
mailing list