Share via


Storage Manager Registry Settings (Windows Embedded CE 6.0)

1/6/2010

Storage Manager uses the registry to retrieve appropriate information about the store, including information about individual storage profiles. Profiles are reported by block drivers.

For information about registry settings for device profiles, see Registry Settings for Storage Manager Profiles.

For information about making profile-specific settings, see Modifying File System Settings on a Per-Profile Basis and Modifying the Partition Table on a Per-Profile Basis.

Storage Manager modules are loaded through the HKEY_LOCAL_MACHINE\System\StorageManager registry key. The following table shows critical subkeys for Storage Manager.

Subkey Description

"PNPUnloadDelay"

Specifies the time delay, in milliseconds, between unmounting and detaching a device. Used during suspend/resume cycles where a block driver might unload and reload on resume.

The default value is 5000.

"PnPWaitIoDelay"

Specifies the amount of time waited before retrying an I/O operation on an unavailable device.

This subkey is not present in the default registry, but may be added by the OEM. The default value three times the value of PNPUnloadDelay.

"PNPThreadPrio256"

Specifies the thread priority for the FSDMGR PNP thread, which detects storage events and mounts or dismounts devices in response to those events.

The value set in "PnPUnloadDelay" is the basis for "PnPWaitIoDelay".

Whereas "PnPUnloadDelay" determines the wait time between detaching and unmounting, "PnPWaitIoDelay" determines the amount of time waited before retrying an I/O operation on an unavailable device. For example, if the system resumes while the SD memory card is disabled, and then a thread calls the ReadFile function on the unavailable SD card, the thread sleeps for "PnpWaitIoDelay" milliseconds before retrying.

By default, "PnPWaitIoDelay" is three times the value of "PnPUnloadDelay". This default value can be overridden by adding the "PnPWaitIoDelay" registry subkey, and setting the value to the desired time.

See Also

Concepts

Storage Management
FAT File System Registry Settings
FAT File System
Partition Manager