summaryrefslogtreecommitdiffstats
path: root/disk-utils/cfdisk.c
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:25:33 +0100
committerKarel Zak2006-12-07 00:25:33 +0100
commit726f69e29ca9d4842f3acb20fffd2466fda62c09 (patch)
treeabbc1b6e9bfb0dfe32e81a83648e261ccb2d5a5f /disk-utils/cfdisk.c
parentImported from util-linux-2.2 tarball. (diff)
downloadkernel-qcow2-util-linux-726f69e29ca9d4842f3acb20fffd2466fda62c09.tar.gz
kernel-qcow2-util-linux-726f69e29ca9d4842f3acb20fffd2466fda62c09.tar.xz
kernel-qcow2-util-linux-726f69e29ca9d4842f3acb20fffd2466fda62c09.zip
Imported from util-linux-2.5 tarball.
Diffstat (limited to 'disk-utils/cfdisk.c')
-rw-r--r--disk-utils/cfdisk.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c
index 6c42f9c06..beb46e508 100644
--- a/disk-utils/cfdisk.c
+++ b/disk-utils/cfdisk.c
@@ -43,6 +43,7 @@
#include <curses.h>
#include <signal.h>
#include <math.h>
+#include <string.h>
#include <sys/ioctl.h>
#include <linux/genhd.h>
#include <linux/hdreg.h>
@@ -59,7 +60,7 @@ extern ext2_loff_t ext2_llseek(unsigned int fd,
unsigned int origin);
-#define VERSION "0.8a BETA (>2GB)"
+#define VERSION "0.8d BETA (>2GB)"
#define DEFAULT_DEVICE "/dev/hda"
#define ALTERNATE_DEVICE "/dev/sda"
@@ -236,7 +237,7 @@ char *partition_type[NUM_PART_TYPES] = {
/* The rest of these are taken from A. V. Le Blanc's (LeBlanc@mcc.ac.uk)
* fdisk program. I do not know where they came from, but I include
- * them for completeness.
+ * them for completeness. (With additions.)
*/
[0x02] = "XENIX root",
@@ -247,7 +248,8 @@ char *partition_type[NUM_PART_TYPES] = {
[0x51] = "Novell?",
[0x52] = "Microport",
[0x63] = "GNU HURD",
- [0x64] = "Novell",
+ [0x64] = "Novell Netware 286",
+ [0x65] = "Novell Netware 386",
[0x75] = "PC/IX",
[0x80] = "Old MINIX",
[0x93] = "Amoeba",