RTEMS  5.1
Data Fields
msdos_format_request_param_t Struct Reference

FAT file system format request parameters. More...

#include <dosfs.h>

Data Fields

const char * OEMName
 OEM name string or NULL.
 
const char * VolLabel
 Volume label string or NULL.
 
uint32_t sectors_per_cluster
 Sectors per cluster hint. More...
 
uint32_t fat_num
 Number of FATs hint. More...
 
uint32_t files_per_root_dir
 Minimum files in root directory for FAT12 and FAT16. More...
 
uint8_t media
 Media code. More...
 
bool quick_format
 Quick format. More...
 
bool skip_alignment
 Do not align FAT, data cluster, and root directory to a cluster boundary.
 
bool sync_device
 Synchronize device after write operations.
 
int info_level
 The amount of info to output.
 

Detailed Description

FAT file system format request parameters.

Field Documentation

◆ fat_num

uint32_t msdos_format_request_param_t::fat_num

Number of FATs hint.

Use 0 as default value.

◆ files_per_root_dir

uint32_t msdos_format_request_param_t::files_per_root_dir

Minimum files in root directory for FAT12 and FAT16.

The format procedure may choose a greater value. Use 0 as default value.

◆ media

uint8_t msdos_format_request_param_t::media

Media code.

Use 0 as default value. The default media code is 0xf8.

◆ quick_format

bool msdos_format_request_param_t::quick_format

Quick format.

If set to true, then do not clear data sectors to zero.

◆ sectors_per_cluster

uint32_t msdos_format_request_param_t::sectors_per_cluster

Sectors per cluster hint.

The format procedure may choose another value. Use 0 as default value.


The documentation for this struct was generated from the following file: