Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Partition types recognized with QNX4 fdisk utility.
Ref. No. QNX.000009577
Category(ies) Filesystem, Configuration
Issue What are the partition types recognized by fdisk under QNX4?
Solution From the fdisk source, the partition types recognized are:

switch( os )
        {
        case 0:                return("unused");

        case 1:
        case 4:                return("DOS  ");
        case 14:
        case 6:                return("DOS4  ");

        case 15:
        case 5:                return("Extd'd");

        case 7:                return("HPFS  ");      /* also QNX2 */
        case 8:                return("QNY2.y");
        case 9:                return("QNZ2.z");

        case 11:
        case 12:                return("FAT32 ");

        case 99:                return("UNIX  ");

        case 130:              return("LinuxS");
        case 131:              return("Linux ");
        case QNX_PART:  return("QNX  ");
        case QNX_PART2: return("QNY  ");
        case QNX_PART3: return("QNZ  ");

        default:        return("nonQNX");
        }
}

Where QNX_PART=77, QNX_PART2=78 and QNX_PART3=79.
You can also find a fairly complete list of partition types at the following url:
http://www.win.tue.nl/math/dw/pp/aeb/linux/partitions/partition_types-1.html