Specify an Error Handler for a File System (Compact 2013)

3/26/2014

You can specify an error handler for a particular file system by placing the error handler DLL name under the file system registry key. You have the flexibility to use the same error handler for the same file system, or to use a different error handler for the same file system mounted on different media.

  • To instruct FSDMGR to use FatErrHandler.dll as the error handler for the FAT file system (FATFS), use the registry key as shown in the following example code.
    [HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
    "ErrorHandler"="FatErrHandler.dll"
    
  • To instruct FSDMGR to use FatMsFlashErrHandler.dll as the error handler for FATFS mounting on MSFlash, use the registry key as shown in the following example code.
     [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
    "ErrorHandler"="FatMsFlashErrHandler.dll"
    
Show: