________________________________________________________________________
Applicable Environment
________________________________________________________________________
- Topic: How to create an extended disk partition
- SDP: 6.5.0, 6.6.0, 7.0.0, 7.1.0
- Host/Target: Any supported target
________________________________________________________________________
Recommendation
________________________________________________________________________
On QNX you can have GPT disk partitions or the older MBR partitioning.
MBR is limited to 4 partitions but can have extended partitions. An extended partition can be created with the fdisk -e argument. This example creates 3 extended partitions of type 177 in slot 2.
# fdisk /dev/hd2 add -t5 -s2
# fdisk /dev/hd2 add -t177 -s2 -e1 -p10
# fdisk /dev/hd2 add -t177 -s2 -e2 -p10
# fdisk /dev/hd2 add -t177 -s2 -e3 -p10
# fdisk /dev/hd2 show
_____OS_____ Start End ______Number______ Size Boot
name type Cylinder Cylinder Cylinders Blocks
1. QNX6 177 1 9999 9999 9999 4 MB
2. Extd'd 5 10000 49999 40000 40000 19 MB
2.1 QNX6 177 10001 13999 3999 3999 1 MB
2.2 QNX6 177 14001 17599 3599 3599 1 MB
2.3 QNX6 177 17601 20839 3239 3239 1 MB
2.4 Unused 0 20841 49999 29159 29159 14 MB
3. ------ --- -------- -------- ------- -------- -----
4. ------ --- -------- -------- ------- -------- -----
________________________________________________________________________
NOTE:
This entry has been validated against the SDP version listed above. Use
caution when considering this advice for any other SDP version. For
supported releases, please reach out to QNX Technical Support if you have any questions/concerns. ________________________________________________________________________