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

Function set_VMFS_info

src/vmfs.c:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36#include "vmfs.h"
37
38static void set_VMFS_info(const struct vmfs_volume *sb, partition_t *partition)
39{
40 partition->upart_type=UP_VMFS;
41 sprintf(partition->info,"VMFS %lu", (long unsigned)le32(sb->version));
42}
43
44static int test_VMFS(const disk_t *disk, const struct vmfs_volume *sb, const partition_t *partition, const int dump_ind)
45{

Callers 2

check_VMFSFunction · 0.85
recover_VMFSFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected