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

Function log_partition

src/log_part.c:34–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32#include "intrf.h" /* aff_part_aux */
33
34void log_partition(const disk_t *disk, const partition_t *partition)
35{
36 const char *msg;
37 char buffer_part_size[100];
38 msg=aff_part_aux(AFF_PART_ORDER|AFF_PART_STATUS, disk, partition);
39 log_info("%s",msg);
40 size_to_unit(partition->part_size, buffer_part_size);
41 if(partition->info[0]!='\0')
42 log_info("\n %s, %s", partition->info, buffer_part_size);
43 log_info("\n");
44}
45
46void log_all_partitions(const disk_t *disk, const list_part_t *list_part)
47{

Callers 15

check_HPFSFunction · 0.85
interface_part_bad_logFunction · 0.85
search_partFunction · 0.85
ask_mbr_order_i386Function · 0.85
use_backupFunction · 0.85
interface_recoveryFunction · 0.85
check_part_gptFunction · 0.85
rebuild_NTFS_BSFunction · 0.85
ntfs_remove_used_spaceFunction · 0.85
ntfs_boot_sector_scanFunction · 0.85
photorecFunction · 0.85
exFAT_boot_sector_rescanFunction · 0.85

Calls 2

aff_part_auxFunction · 0.85
size_to_unitFunction · 0.85

Tested by 2

test_sun_i386Function · 0.68
test_FATFunction · 0.68