Commit 7944c220 authored by Andries E. Brouwer's avatar Andries E. Brouwer Committed by Linus Torvalds

[PATCH] remove BSD_PARTITION

There is no reason to have both BSD_PARTITION and FREEBSD_PARTITION
denoting the same partition type.
parent 063e9f83
...@@ -377,7 +377,7 @@ static struct { ...@@ -377,7 +377,7 @@ static struct {
void (*parse)(struct parsed_partitions *, struct block_device *, void (*parse)(struct parsed_partitions *, struct block_device *,
u32, u32, int); u32, u32, int);
} subtypes[] = { } subtypes[] = {
{BSD_PARTITION, parse_freebsd}, {FREEBSD_PARTITION, parse_freebsd},
{NETBSD_PARTITION, parse_netbsd}, {NETBSD_PARTITION, parse_netbsd},
{OPENBSD_PARTITION, parse_openbsd}, {OPENBSD_PARTITION, parse_openbsd},
{MINIX_PARTITION, parse_minix}, {MINIX_PARTITION, parse_minix},
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include <linux/device.h> #include <linux/device.h>
enum { enum {
/* These three have identical behaviour; use the second one if DOS fdisk gets /* These three have identical behaviour; use the second one if DOS FDISK gets
confused about extended/logical partitions starting past cylinder 1023. */ confused about extended/logical partitions starting past cylinder 1023. */
DOS_EXTENDED_PARTITION = 5, DOS_EXTENDED_PARTITION = 5,
LINUX_EXTENDED_PARTITION = 0x85, LINUX_EXTENDED_PARTITION = 0x85,
...@@ -26,20 +26,17 @@ enum { ...@@ -26,20 +26,17 @@ enum {
SOLARIS_X86_PARTITION = LINUX_SWAP_PARTITION, SOLARIS_X86_PARTITION = LINUX_SWAP_PARTITION,
DM6_PARTITION = 0x54, /* has DDO: use xlated geom & offset */
EZD_PARTITION = 0x55, /* EZ-DRIVE */
DM6_AUX1PARTITION = 0x51, /* no DDO: use xlated geom */ DM6_AUX1PARTITION = 0x51, /* no DDO: use xlated geom */
DM6_AUX3PARTITION = 0x53, /* no DDO: use xlated geom */ DM6_AUX3PARTITION = 0x53, /* no DDO: use xlated geom */
DM6_PARTITION = 0x54, /* has DDO: use xlated geom & offset */
FREEBSD_PARTITION = 0xa5, /* FreeBSD Partition ID */ EZD_PARTITION = 0x55, /* EZ-DRIVE */
OPENBSD_PARTITION = 0xa6, /* OpenBSD Partition ID */
NETBSD_PARTITION = 0xa9, /* NetBSD Partition ID */ FREEBSD_PARTITION = 0xa5, /* FreeBSD Partition ID */
BSDI_PARTITION = 0xb7, /* BSDI Partition ID */ OPENBSD_PARTITION = 0xa6, /* OpenBSD Partition ID */
/* Ours is not to wonder why.. */ NETBSD_PARTITION = 0xa9, /* NetBSD Partition ID */
BSD_PARTITION = FREEBSD_PARTITION, BSDI_PARTITION = 0xb7, /* BSDI Partition ID */
MINIX_PARTITION = 0x81, /* Minix Partition ID */ MINIX_PARTITION = 0x81, /* Minix Partition ID */
UNIXWARE_PARTITION = 0x63, /* Partition ID, same as */ UNIXWARE_PARTITION = 0x63, /* Same as GNU_HURD and SCO Unix */
/* GNU_HURD and SCO Unix */
}; };
struct partition { struct partition {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment