Partition Manager (Windows CE 5.0)

Send Feedback

The Partition Manager calls one of several different partition drivers and is contained within the Storage Manager. The Storage Manager is selected with the SYSGEN_STOREMGR variable.

The Partition Manager manages, loads, and unloads logical partitions on a storage device. A storage device is composed of number of sectors that are contiguous set of bytes within the device. All sectors on a given storage device are of the same size. A partition is a logical division of a storage device and covers a span of whole sectors within the storage device. You should never overlap the partitions within a storage device or the operating system may stop responding. Space that is not included within any of the logical partitions is considered part of the unpartitioned space within the storage device.

You can associate different file systems with each partition on a storage device. The file system type is associated with the partition when you create or format it. When you mount the partition, the Partition Manager informs the storage manager to activate the respective file system.

The PartitionTable key contains entries where the volume name is the partition type. This entry is in %02X format. The value is the name of the file system. This is used to look up the module to load. Declare the NTFS file system partition type so that the file allocation table (FAT) is not loaded. The number 07 represents the NTFS file system partition. The following table shows the partition types

Partition type Identifier
Microsoft® MS-DOS® 12 bit FAT 0x01
XENIX1 0x02
XENIX2 0x03
MS-DOS 16 bit FAT 0x04
MS-DOS Extended 0x05
MS-DOS 24 bit FAT 0x06
NTFS 0x07
MS-DOS 32 bit FAT 0x0B
MS-DOS 32 bit FAT LBA 0x0C
MS-DOS 24 bit FAT LBA 0x0E
MS-DOS Extended LBA 0x0F

If the PartitionDriver key is blank, the null partition driver loads. If the PartitionDriver key is not found, the default file system is loaded. The Partition Manager tries to load a non-existent file system, in this case it tries to load NTFS, so no file system is associated with that particular profile. The following registry key shows NTFS file system declared as the non-existent partition type.

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\PartitionTable]
    "07"="NTFS"
    
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\CDProfile]
    "Name"="IDE CDROM/DVD Drive"
    "Folder"="CDROM Drive"
    "DefaultFileSystem"="UDFS"
    "PartitionDriver"=""

See Also

Partition Driver

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.