Modifying File System Settings on a Per-Profile Basis

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

You can override the partition table settings and file system settings on a per-profile basis.

Typically, block drivers such a storage drivers and file system drivers (FSDs) report a storage profile name to the storage manager when the storage device is loaded, using the control code IOCTL_DISK_DEVICE_INFO.

This profile name can be used to specify a registry key that contains only mappings for a specific file system or partition table.

For example, if the registry contains generic file settings for the MYFSD file system driver at the root file system key, as follows:

[HKEY_LOCAL_MACHINE\System\StorageManager\MYFSD]
   "Dll"="MyFSD.DLL"
   "Util"="MyFSDUtil.DLL"
   "Paging"=dword:1

If an FSD reports a different profile name, it can use a registry key with that name to override one or more base settings. Values that are not explicitly overridden for the profile are loaded from the base key, in this case HKLM\System\StorageManager\MYFSD.

For example, if you define a profile named Sample, the following registry key overrides the base setting for Paging behavior, but leaves the settings for Dll and Util unchanged:

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\Sample\MYFSD]
   "Paging"=dword:0

Note

Per-profile settings apply only to the FSD of the specific profile. In this example, paging behavior is reset only for the Sample profile.

See Also

Reference

Registry Settings for Storage Manager Profiles

Concepts

Storage Manager Registry Settings
Partition Manager
Modifying the Partition Table on a Per-Profile Basis