Partition table - system types

Leendert van Doorn leendert at cs.vu.nl
Tue Oct 9 22:13:11 AEST 1990


The partition table on a IBM PC/XT/AT/PS type of machine contains
entries for various (possibly different) operating systems. Each system
has its own (hopefully) unique system index. I'm trying to gather these
system indices, to make my kind of fdisk program more complete.
Note that I more or less randomly chose the system indices for Amoeba
in the hope that nobody else uses them

Additions, deletions, changes, remarks, etc. are very welcome. I'll
summarize if appropriate.

Leendert

struct ostypes {
    char *ot_name;		/* operating system name */
    uint8 ot_index;		/* operating system index */
} ostypes[] = {
    "DOS-12",		0x01,	/* MS/DOS, 12-bit FAT */
    "XENIX /",		0x02,	/* Xenix root */
    "XENIX /usr",	0x03,	/* Xenix user */
    "DOS-16",		0x04,	/* MS/DOS, 16-bit FAT */
    "DOS-EXT",		0x05,	/* MS/DOS Extended */
    "DOS-BIG",		0x06,	/* MS/DOS Large */
    "AIX",		0x08,	/* A/IX */
    "OPUS",		0x10,	/* Opus */
    "NOVELL",		0x51,	/* possibly Novell */
    "CP/M",		0x52,	/* CP/M */
    "386/IX",		0x63,	/* 386/IX */
    "NOVELL",		0x64,	/* Novell */
    "PC/IX",		0x75,	/* PC/IX */
    "MINIX-OLD",	0x80,	/* pre 1.4b Minix */
    "MINIX",		0x81,	/* Minix partition */
    "AMOEBA",		0x93,	/* Amoeba */
    "BADBLK",		0x94,	/* Amoeba bad block partition */
    "CCP/M",		0xDB,	/* Concurrent CP/M */
    "BADTRK",		0xFF,	/* Bad track table */
};

--
Leendert van Doorn 			   		<leendert at cs.vu.nl>
Vrije Universiteit / Dept. of Maths. & Comp. Sc.
Amoeba project / De Boelelaan 1081
1081 HV Amsterdam / The Netherlands



More information about the Comp.unix.sysv286 mailing list