MCPcopy Create free account
hub / github.com/cgsecurity/testdisk / log_ntfs_info

Function log_ntfs_info

src/ntfs.c:413–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411}
412
413int log_ntfs_info(const struct ntfs_boot_sector *ntfs_header)
414{
415 log_info("filesystem size %llu\n", (long long unsigned)le64(ntfs_header->sectors_nbr)+1);
416 log_info("sectors_per_cluster %u\n", ntfs_header->sectors_per_cluster);
417 log_info("mft_lcn %lu\n", (long unsigned int)le64(ntfs_header->mft_lcn));
418 log_info("mftmirr_lcn %lu\n", (long unsigned int)le64(ntfs_header->mftmirr_lcn));
419 log_info("clusters_per_mft_record %d\n", ntfs_header->clusters_per_mft_record);
420 log_info("clusters_per_index_record %d\n", ntfs_header->clusters_per_index_record);
421 return 0;
422}

Callers 4

ntfs_boot_sector_scanFunction · 0.85
recover_NTFSFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected