Table of Contents

Name

dcalc - Converts between unallocated disk unit numbers and regular disk unit numbers.

Synopsis

dcalc [-dsu unit_addr] [-vV] [-i imgtype] [-o imgoffset] [-f fstype] image [images]

Description

dcalc creates a disk unit number mapping between two images, one normal and another that only contains the unallocated units of the first (the default behavior of the dls(1) program). One of the -d, -s, or -u options must be given. If the -d option is given, then the unit_addr value is the disk unit address in the regular image (i.e. from dd ). If the unit is unallocated, its address in an unallocated image is given. If the -u option is given, then the unit_addr value is the disk unit address in the unallocated unit image (i.e. from dls(1) ). Its disk unit address in the original image is determined. If the -s option is given, then the unit_addr value is the disk unit address in the slack image (i.e. from dls -s). The image is the full, original image (i.e. from dd).

-f fstype
Identify the File System type of the image. Use ’-f list’ to list the supported file system types. If not given, autodetection methods are used.
-i imgtype
Identify the type of image file, such as raw or split. Use ’-i list’ to list the supported types. If not given, autodetection methods are used.
-o imgoffset
The sector offset where the file system starts in the image. Non-512 byte sectors can be specified using ’@’ (32@2048)
-v
Verbose output to STDERR.
-V
Display version.

This is useful when keyword searching an image generated by dls. This allows one to identify the original unit address and provides better documentation.

Example

# dcalc -u 64 images/wd0e

See Also

dls(1) ,

Author

Brian Carrier <carrier at sleuthkit dot org>


Table of Contents