dosfstools  4.2
About: dosfstools are utilities to create, check and label (MS-DOS) FAT filesystems.
  Fossies Dox: dosfstools-4.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

boot_sector Struct Reference

#include <fsck.fat.h>

Data Fields

uint8_t ignored [3]
 
uint8_t system_id [8]
 
uint8_t sector_size [2]
 
uint8_t cluster_size
 
uint16_t reserved
 
uint8_t fats
 
uint8_t dir_entries [2]
 
uint8_t sectors [2]
 
uint8_t media
 
uint16_t fat_length
 
uint16_t secs_track
 
uint16_t heads
 
uint32_t hidden
 
uint32_t total_sect
 
uint32_t fat32_length
 
uint16_t flags
 
uint8_t version [2]
 
uint32_t root_cluster
 
uint16_t info_sector
 
uint16_t backup_boot
 
uint8_t reserved2 [12]
 
uint8_t drive_number
 
uint8_t boot_flags
 
uint8_t extended_sig
 
uint32_t serial
 
uint8_t label [11]
 
uint8_t fs_type [8]
 
uint8_t junk [422]
 

Detailed Description

Definition at line 52 of file fsck.fat.h.

Field Documentation

◆ backup_boot

uint16_t boot_sector::backup_boot

Definition at line 75 of file fsck.fat.h.

Referenced by check_backup_boot(), read_boot(), and read_fsinfo().

◆ boot_flags

uint8_t boot_sector::boot_flags

Definition at line 79 of file fsck.fat.h.

Referenced by check_dirty_bits().

◆ cluster_size

uint8_t boot_sector::cluster_size

Definition at line 57 of file fsck.fat.h.

Referenced by read_boot().

◆ dir_entries

uint8_t boot_sector::dir_entries[2]

Definition at line 60 of file fsck.fat.h.

Referenced by read_boot().

◆ drive_number

uint8_t boot_sector::drive_number

Definition at line 78 of file fsck.fat.h.

◆ extended_sig

uint8_t boot_sector::extended_sig

Definition at line 81 of file fsck.fat.h.

Referenced by read_boot(), and write_boot_label_or_serial().

◆ fat32_length

uint32_t boot_sector::fat32_length

Definition at line 70 of file fsck.fat.h.

Referenced by read_boot().

◆ fat_length

uint16_t boot_sector::fat_length

Definition at line 63 of file fsck.fat.h.

Referenced by read_boot().

◆ fats

uint8_t boot_sector::fats

Definition at line 59 of file fsck.fat.h.

Referenced by dump_boot(), and read_boot().

◆ flags

uint16_t boot_sector::flags

Definition at line 71 of file fsck.fat.h.

◆ fs_type

uint8_t boot_sector::fs_type[8]

Definition at line 84 of file fsck.fat.h.

Referenced by write_boot_label_or_serial().

◆ heads

uint16_t boot_sector::heads

Definition at line 65 of file fsck.fat.h.

Referenced by dump_boot(), and read_boot().

◆ hidden

uint32_t boot_sector::hidden

Definition at line 66 of file fsck.fat.h.

Referenced by dump_boot().

◆ ignored

uint8_t boot_sector::ignored[3]

Definition at line 53 of file fsck.fat.h.

◆ info_sector

uint16_t boot_sector::info_sector

Definition at line 74 of file fsck.fat.h.

Referenced by check_backup_boot(), and read_fsinfo().

◆ junk

uint8_t boot_sector::junk[422]

Definition at line 87 of file fsck.fat.h.

◆ label

uint8_t boot_sector::label[11]

Definition at line 83 of file fsck.fat.h.

Referenced by read_boot(), write_boot_label(), and write_boot_label_or_serial().

◆ media

uint8_t boot_sector::media

Definition at line 62 of file fsck.fat.h.

Referenced by dump_boot(), and fix_first_cluster().

◆ reserved

uint16_t boot_sector::reserved

Definition at line 58 of file fsck.fat.h.

Referenced by check_backup_boot(), dump_boot(), read_boot(), and read_fsinfo().

◆ reserved2

uint8_t boot_sector::reserved2[12]

Definition at line 76 of file fsck.fat.h.

◆ root_cluster

uint32_t boot_sector::root_cluster

Definition at line 73 of file fsck.fat.h.

Referenced by read_boot().

◆ secs_track

uint16_t boot_sector::secs_track

Definition at line 64 of file fsck.fat.h.

Referenced by dump_boot(), and read_boot().

◆ sector_size

uint8_t boot_sector::sector_size[2]

Definition at line 56 of file fsck.fat.h.

Referenced by dump_boot(), and read_boot().

◆ sectors

uint8_t boot_sector::sectors[2]

Definition at line 61 of file fsck.fat.h.

Referenced by dump_boot(), and read_boot().

◆ serial

uint32_t boot_sector::serial

Definition at line 82 of file fsck.fat.h.

Referenced by read_boot(), write_boot_label_or_serial(), and write_serial().

◆ system_id

uint8_t boot_sector::system_id[8]

Definition at line 54 of file fsck.fat.h.

Referenced by dump_boot().

◆ total_sect

uint32_t boot_sector::total_sect

Definition at line 67 of file fsck.fat.h.

Referenced by dump_boot(), and read_boot().

◆ version

uint8_t boot_sector::version[2]

Definition at line 72 of file fsck.fat.h.


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