dosfstools
4.2
About: dosfstools are utilities to create, check and label (MS-DOS) FAT filesystems.
![]() ![]() |
Go to the source code of this file.
Functions | |
void | check_dirty_bits (DOS_FS *fs) |
int | scan_root (DOS_FS *fs) |
void | check_label (DOS_FS *fs) |
void check_dirty_bits | ( | DOS_FS * | fs | ) |
Definition at line 1065 of file check.c.
References boot_sector::boot_flags, boot_sector_16::boot_flags, DOS_FS::fat, FAT16_FLAG_CLEAN_SHUTDOWN, FAT32_FLAG_CLEAN_SHUTDOWN, DOS_FS::fat_bits, DOS_FS::fat_size, DOS_FS::fat_start, FAT_STATE_DIRTY, fs_read(), fs_write(), get_fat(), DOS_FS::nfats, and print_fat_dirty_state().
Referenced by main().
void check_label | ( | DOS_FS * | fs | ) |
Definition at line 1216 of file check.c.
References check_boot_label(), die(), dos_string_to_wchar_string(), find_volume_de(), get_choice(), get_new_label(), DOS_FS::label, DIR_ENT::name, only_uppercase_label, pretty_label(), remove_label(), validate_volume_label(), wchar_string_to_dos_string(), write_boot_label(), write_label(), and write_volume_label().
Referenced by main().
int scan_root | ( | DOS_FS * | fs | ) |
Scan all directory and file information for errors.
[in,out] | fs | Information about the filesystem |
Definition at line 1032 of file check.c.
References add_file(), check_dir(), check_files(), fp_root, lfn_check_orphaned(), new_dir(), root, DOS_FS::root_cluster, DOS_FS::root_entries, DOS_FS::root_start, and subdirs().
Referenced by main().