Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

A volume, once it is open, may need to be formatted before files or directories can be created. The default format is selected by passing a NULL pointer as the second parameter of FSVol_Fmt(). Alternatively, the exact properties of the file system can be configured with a FS_FAT_SYS_CFG structure. An example of populating and using the FAT configuration is shown in Listing 12-1. If the configuration is invalid, an error will be returned from FSVol_Fmt(). For more information about the FS_FAT_SYS_CFG structure, see Appendix D, “FS_FAT_SYS_CFG”.

Listing 12-1 Example device format

  • No labels