コード例 #1
0
ファイル: mmls.cpp プロジェクト: 0xNF/sleuthkit
static void
print_header(const TSK_VS_INFO * vs)
{
    tsk_printf("%s\n", tsk_vs_type_todesc(vs->vstype));
    tsk_printf("Offset Sector: %" PRIuDADDR "\n",
        (TSK_DADDR_T) (vs->offset / vs->block_size));
    tsk_printf("Units are in %d-byte sectors\n\n", vs->block_size);
    if (print_bytes)
        tsk_printf
            ("     Slot    Start        End          Length       Size    Description\n");
    else
        tsk_printf
            ("     Slot    Start        End          Length       Description\n");
}
コード例 #2
0
ファイル: tsk.cpp プロジェクト: uckelman/fsrip
std::string VolumeSystem::desc() const {
  return std::string(tsk_vs_type_todesc(VolInfo->vstype));
}