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
This commit is contained in:
parent
15fccd86b9
commit
d98a4eb807
@ -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 }
|
||||
};
|
||||
|
@ -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) },
|
||||
|
@ -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 },
|
||||
|
@ -36,6 +36,7 @@ enum alias {
|
||||
ALIAS_EFI,
|
||||
ALIAS_FAT16B,
|
||||
ALIAS_FAT32,
|
||||
ALIAS_FAT32LBA,
|
||||
ALIAS_FREEBSD,
|
||||
ALIAS_FREEBSD_BOOT,
|
||||
ALIAS_FREEBSD_NANDFS,
|
||||
|
Loading…
Reference in New Issue
Block a user