Date: Fri, 13 Jan 1995 23:12:21 +0100 (MET) From: Remy.Card@masi.ibp.fr (Remy CARD) To: hackers@FreeBSD.org Subject: Linux partitions ids Message-ID: <199501132212.XAA15635@ares.ibp.fr>
next in thread | raw e-mail | index | archive | help
Hi, The enclosed patch changes fdisk and sysinstall to make them distinguish Linux swap and filesystem partitions. It also makes fdisk consistent with sysinstall when displaying the type of a *BSD partition. Can someone please commit it? Thanks Remy *** sbin/sysinstall/mbr.h.orig Fri Jan 13 22:52:31 1995 --- sbin/sysinstall/mbr.h Fri Jan 13 22:53:15 1995 *************** *** 55,61 **** ,{0x75, "PCIX"} \ ,{0x80, "Minix 1.1 ... 1.4a"} \ ,{0x81, "Minix 1.4b ... 1.5.10"} \ ! ,{0x82, "Linux"} \ ,{0x93, "Amoeba filesystem"} \ ,{0x94, "Amoeba bad block table"} \ ,{0xA5, "FreeBSD/NetBSD/386BSD"} \ --- 55,62 ---- ,{0x75, "PCIX"} \ ,{0x80, "Minix 1.1 ... 1.4a"} \ ,{0x81, "Minix 1.4b ... 1.5.10"} \ ! ,{0x82, "Linux swap"} \ ! ,{0x83, "Linux filesystem"} \ ,{0x93, "Amoeba filesystem"} \ ,{0x94, "Amoeba bad block table"} \ ,{0xA5, "FreeBSD/NetBSD/386BSD"} \ *** sbin/i386/fdisk/fdisk.c.orig Fri Jan 13 22:53:32 1995 --- sbin/i386/fdisk/fdisk.c Fri Jan 13 22:54:26 1995 *************** *** 152,161 **** ,{0x75, "PCIX"} ,{0x80, "Minix 1.1 ... 1.4a"} ,{0x81, "Minix 1.4b ... 1.5.10"} ! ,{0x82, "Linux"} ,{0x93, "Amoeba filesystem"} ,{0x94, "Amoeba bad block table"} ! ,{0xA5, "386BSD"} ,{0xB7, "BSDI BSD/386 filesystem"} ,{0xB8, "BSDI BSD/386 swap"} ,{0xDB, "Concurrent CPM or C.DOS or CTOS"} --- 152,162 ---- ,{0x75, "PCIX"} ,{0x80, "Minix 1.1 ... 1.4a"} ,{0x81, "Minix 1.4b ... 1.5.10"} ! ,{0x82, "Linux swap"} ! ,{0x83, "Linux filesystem"} ,{0x93, "Amoeba filesystem"} ,{0x94, "Amoeba bad block table"} ! ,{0xA5, "FreeBSD/NetBSD/386BSD"} ,{0xB7, "BSDI BSD/386 filesystem"} ,{0xB8, "BSDI BSD/386 swap"} ,{0xDB, "Concurrent CPM or C.DOS or CTOS"}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199501132212.XAA15635>