UDFS Registry Settings (Windows Embedded CE 6.0)

1/6/2010

The Universal Disk File System (UDFS) retrieves driver specific settings from the registry.

You can put UDFS settings at two different tiers in the registry hierarchy

  • Root file system key
    Settings made at the root key of the file system registry, HKEY_LOCAL_MACHINE\System\StorageManager\UDFS, apply to every mounted instance of UDFS, unless explicitly overridden by a setting at a lower level. These setting apply to UDFS for all profiles.
  • Profile-specific settings
    Settings made at the Profiles registry subkey, HKEY_LOCAL_MACHINE\System\StorageManager\Profile\CDProfile, apply only to devices that report the profile CDProfile.

The following table shows the registry settings for the UDFS.

Registry value: Type Description

Dll: REG_SZ

Specifies the name of the file system DLL.

Set to "udfs.dll" for UDFS.

FriendlyName: REG_SZ

Specifies a friendly name for the file system.

LockIOBuffers: REG_DWORD

Specifies that the file system driver manager (FSDMGR) must lock all application buffers before passing them to file I/O functions. You must set this value to 1 when you use the file cache filter. Because the filter performs critical section usage around file I/O, the filter requires this value to be set to 1 to prevent deadlocks.

HeapMaxSize: REG_DWORD

Specifies the maximum size of the heap in KB. If this value is 0, the heap is unbounded.

DestroyHeapOnUnmount: REG_DWORD

Indicates whether to destroy the heap contents when the storage media is dismounted. When 0, this value enables recreation of the heap on media change.

Set to 0 to disable destruction

Set to 1 to enable destruction

MountLabel: REG_DWORD

Pulls the volume label and uses it as a mount point.

Paging: REG_DWORD

Controls paging. Set to 1 to enable paging for UDFS.

Util: REG_SZ

Specifies the DLL name of utility to do format and scan.

MountFlags: REG_DWORD

This value is deprecated for Windows CE 5.0 and later. For replacement values, see Mount Settings.

Default UDFS Settings

The following registry key example shows the default for UDFS.

; Default values for udfs.  These can be overridden per profile
[HKEY_LOCAL_MACHINE\System\StorageManager\UDFS]
    "FriendlyName"="UDF Read-only FileSystem"
    "Dll"="udfs.dll"
    "Paging"=dword:1
    "LockIOBuffers"=dword:0
;   "HeapMaxSize"=dword:0 ; maximum size of heap in KB, 0=unbounded
;   "DestroyHeapOnUnmount"=dword:0 ; 0=disable, 1=enable destruction, recreation of heap on media change

; The detectors for the CDProfile.
[HKEY_LOCAL_MACHINE\System\StorageManager\MSIFS_CD\Detectors\UDFS]
    "Order"=dword:1
    "LoadFlags"=dword:0
    "Dll"="UDFS.DLL"
    "Export"="UDF_RecognizeVolume"
    "Guid"="{1DFE4CC8-525B-4613-BA79-8FB510950BDD}"

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

See Also

Concepts

CDFS/UDFS File Systems
CDFS Registry Settings
Storage Management

Other Resources

Settings for Specific File Systems
Block Drivers