1BLKCALC(1)                  General Commands Manual                 BLKCALC(1)
2
3
4

NAME

6       blkcalc  -  Converts  between unallocated disk unit numbers and regular
7       disk unit numbers.
8

SYNOPSIS

10       blkcalc [-dsu unit_addr] [-vV] [-i imgtype] [-o imgoffset] [-b dev_sec‐
11       tor_size] [-f fstype] image [images]
12

DESCRIPTION

14       blkcalc creates a disk unit number mapping between two images, one nor‐
15       mal and another that only contains the unallocated units of  the  first
16       (the  default behavior of the blkls(1) program).  One of the -d, -s, or
17       -u options must be  given.   If  the  -d  option  is  given,  then  the
18       unit_addr  value  is  the  disk unit address in the regular image (i.e.
19       from dd ).  If the unit is unallocated, its address in  an  unallocated
20       image is given.  If the -u option is given, then the unit_addr value is
21       the disk unit  address  in  the  unallocated  unit  image  (i.e.   from
22       blkls(1) ).  Its disk unit address in the original image is determined.
23       If the -s option is given, then the unit_addr value is  the  disk  unit
24       address  in  the  slack  image  (i.e. from blkls -s).  The image is the
25       full, original image (i.e. from dd).  blkcalc was called dcalc  in  TSK
26       versions prior to 3.0.0.
27
28
29       -f fstype
30              Identify  the  File  System type of the image.  Use '-f list' to
31              list the supported file system types.  If not given,  autodetec‐
32              tion methods are used.
33
34       -i imgtype
35              Identify  the type of image file, such as raw or split.  Use '-i
36              list' to list the supported types.  If not given,  autodetection
37              methods are used.
38
39       -o imgoffset
40              The sector offset where the file system starts in the image.
41
42       -b dev_sector_size
43              The  size,  in  bytes, of the underlying device sectors.  If not
44              given, the value in the image format is used (if it  exists)  or
45              512-bytes is assumed.
46
47       -v     Verbose output to STDERR.
48
49       -V     Display version.
50
51
52       This  is  useful  when  keyword  searching an image generated by blkls.
53       This allows one to identify the original unit address and provides bet‐
54       ter documentation.
55
56

EXAMPLE

58       # blkcalc -u 64 images/wd0e
59
60

SEE ALSO

62       blkls(1),
63
64

AUTHOR

66       Brian Carrier <carrier at sleuthkit dot org>
67
68       Send documentation updates to <doc-updates at sleuthkit dot org>
69
70
71
72                                                                    BLKCALC(1)
Impressum