EnglishFrenchSpanish

Ad


OnWorks favicon

blkcalc - Online in the Cloud

Run blkcalc in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command blkcalc that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


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

SYNOPSIS


blkcalc [-dsu unit_addr] [-vV] [-i imgtype] [-o imgoffset] [-b dev_sector_size] [-f
fstype] image [images]

DESCRIPTION


blkcalc 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 blkls(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 blkls(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 blkls -s). The image is the full, original image (i.e. from dd).
blkcalc was called dcalc in TSK versions prior to 3.0.0.

-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. 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.

-b dev_sector_size
The size, in bytes, of the underlying device sectors. If not given, the value in
the image format is used (if it exists) or 512-bytes is assumed.

-v Verbose output to STDERR.

-V Display version.

image [images]
The disk or partition image to read, whose format is given with '-i'. Multiple
image file names can be given if the image is split into multiple segments. If
only one image file is given, and its name is the first in a sequence (e.g., as
indicated by ending in '.001'), subsequent image segments will be included
automatically.

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

EXAMPLE


# blkcalc -u 64 images/wd0e

Use blkcalc online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Sardi
    Sardi
    Sardi is a complete restyling and
    optimisation of svg code. 6 choices for
    your applications and 10 kind of folders
    to use in your file manager. The sardi
    icons...
    Download Sardi
  • 2
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    h...
    Download LMMS Digital Audio Workstation
  • 3
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 4
    Avogadro
    Avogadro
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 5
    XMLTV
    XMLTV
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    do...
    Download XMLTV
  • 6
    strikr
    strikr
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    (commercial)...
    Download strikr
  • More »

Linux commands

Ad