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.h File Reference
#include <stdint.h>
Include dependency graph for boot.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void read_boot (DOS_FS *fs)
 
void write_label (DOS_FS *fs, char *label)
 
void write_boot_label (DOS_FS *fs, const char *label)
 
void write_volume_label (DOS_FS *fs, char *label)
 
void remove_label (DOS_FS *fs)
 
void write_serial (DOS_FS *fs, uint32_t serial)
 
off_t find_volume_de (DOS_FS *fs, DIR_ENT *de)
 
const char * pretty_label (const char *label)
 
off_t alloc_rootdir_entry (DOS_FS *fs, DIR_ENT *de, const char *pattern, int gen_name)
 

Function Documentation

◆ alloc_rootdir_entry()

◆ find_volume_de()

◆ pretty_label()

const char* pretty_label ( const char *  label)

Definition at line 747 of file boot.c.

References dos_char_to_printable(), and last.

Referenced by check_boot_label(), check_label(), and handle_label().

◆ read_boot()

◆ remove_label()

void remove_label ( DOS_FS fs)

Definition at line 729 of file boot.c.

References DIR_ENT::attr, find_volume_de(), fs_write(), DIR_ENT::name, and write_boot_label().

Referenced by check_label(), and handle_label().

◆ write_boot_label()

void write_boot_label ( DOS_FS fs,
const char *  label 
)

Definition at line 619 of file boot.c.

References boot_sector::label, and write_boot_label_or_serial().

Referenced by check_boot_label(), check_label(), remove_label(), and write_label().

◆ write_label()

void write_label ( DOS_FS fs,
char *  label 
)

Definition at line 718 of file boot.c.

References write_boot_label(), and write_volume_label().

Referenced by check_label(), and handle_label().

◆ write_serial()

void write_serial ( DOS_FS fs,
uint32_t  serial 
)

Definition at line 624 of file boot.c.

References boot_sector::serial, and write_boot_label_or_serial().

Referenced by handle_volid().

◆ write_volume_label()