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

Function check_linux

src/analyse.c:442–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440}
441
442int check_linux(disk_t *disk, partition_t *partition, const int verbose)
443{
444#if !defined(DISABLED_FOR_FRAMAC)
445 if(check_JFS(disk, partition)==0 ||
446 check_rfs(disk, partition, verbose)==0 ||
447 check_EXT2(disk, partition, verbose)==0 ||
448 check_cramfs(disk, partition, verbose)==0 ||
449 check_xfs(disk, partition, verbose)==0 ||
450 check_LUKS(disk, partition)==0 ||
451 check_btrfs(disk, partition)==0 ||
452 check_f2fs(disk, partition)==0 ||
453 check_gfs2(disk, partition)==0 ||
454 check_ZFS(disk, partition)==0)
455 return 0;
456#endif
457 return 1;
458}
459

Callers 4

check_part_gptFunction · 0.85
check_part_macFunction · 0.85
check_part_sunFunction · 0.85
check_part_i386Function · 0.85

Calls 10

check_JFSFunction · 0.85
check_rfsFunction · 0.85
check_EXT2Function · 0.85
check_cramfsFunction · 0.85
check_xfsFunction · 0.85
check_LUKSFunction · 0.85
check_btrfsFunction · 0.85
check_f2fsFunction · 0.85
check_gfs2Function · 0.85
check_ZFSFunction · 0.85

Tested by

no test coverage detected