次の方法で共有


Registry Settings for FATFS Flag Values (Compact 2013)

3/26/2014

The following registry settings may apply to one or more FAT file systems. The "Applies to" column specifies whether you can apply the setting to a FAT, transaction-safe extended FAT (TexFAT), or extended FAT (ExFAT) file system. In Windows Embedded Compact 2013, the flags in the left ("New flag") column replace the deprecated flags in the second ("Deprecated flag") column. All current flags are of type REG_DWORD. For more information about the location of these entries in the registry, see FAT File System Registry Settings. For more information about the deprecated flags, see Flags Registry Subkey.

New flag

Deprecated flag

Applies to

Description

DirHandleWrite

FATFS_DIR_HANDLE_WRITE

FAT, ExFAT, TexFAT

Set to 1 to enable the file system to write to directories by using directory handles instead of by using file handles. The default value is 0 (zero).

DisableAutoFormat

FATFS_DISABLE_AUTOFORMAT

FAT, ExFAT, TexFAT

Set to 1 to disable automatic formatting of unformatted volumes. The default value is 0 (zero).

DisableAutoScan

FATFS_DISABLE_AUTOSCAN

FAT, ExFAT, TexFAT

Set to 1 to disable automatic ScanVolume. The default value is 0 (zero).

EnableDebugLog

None

FAT, ExFAT, TexFAT

Set to 1 to enable an internal debug log of operations. The default value is 0 (zero).

ForceNoFileBuffering

FATFS_FORCE_UNBUFFERED

FAT, ExFAT, TexFAT

Set to 1 to force all reads and writes of file data to bypass caching and buffering. Requires that accesses occur in sector-sized multiples and that accesses are sector-aligned, which means that they are aligned on addresses in memory that are integer multiples of the volume sector size. The default value is 0 (zero).

ForceWritethrough

FATFS_FORCE_WRITETHROUGH

FAT, ExFAT, TexFAT

Set to 1 to force all FAT files to write-through. The default value is 0 (zero).

LFNExtendedAlways

FATFS_LFN_EXTENDED_ALWAYS

FAT

Set to 1 to always generate long file name (LFN) entries for extended characters. The default value is 0 (zero).

NonatomicSector

FATFS_NONATOMIC_SECTOR

TexFAT only

Set to 1 to use the cluster 1 entry in FAT tables for TexFAT transactions, because sector writes are non-atomic. The Microsoft NAND Flash driver supports atomic sector writes.

ScanOnDirtyVolume

FATFS_SCAN_ON_DIRTY

FAT, ExFAT, TexFAT

Set to 1 to call the function ScanVolume when the volume is marked as dirty. The default value is 0 (zero).

SecuritySupport

FATFS_SUPPORT_SECURITY

ExFAT only

This setting has no effect. Do not use.

TfatMarkAlways

None

TexFAT only

This setting has no effect. Do not use.

TransactData

None

TexFAT only

Set to 1 to transact data on a write, that is, to clone the cluster on every write. The default value is 0 (zero).

UpdateAccess

FATFS_UPDATE_ACCESS

FAT, ExFAT, TexFAT

Set to 1 to update access times. The default value is 0 (zero).

ZeroInvalidData

None

FAT, ExFAT, TexFAT

Set to 1 to zero the file data if the file has never been written to. The default value is 1 for TexFAT volumes and 0 (zero) for FAT and ExFAT volumes.

See Also

Reference

FAT File System Registry Settings
Flags Registry Subkey