BLKCAT(1)
π BLKCAT π
okay bestie, sit down, hydrate, because we're about to read raw disk units together and it's gonna be adorable. this is blkcat, a General Commands Manual girlie from section 1, and she's here to show you what's actually inside your disk image, one data unit at a time. no cap. π
β¨ NAME β¨
blkcat β display the contents of a file system data unit in a disk image. yes literally just. showing you the vibes of one unit. iconic. π
πΈ SYNOPSIS πΈ
blkcat [-ahswvV] [-f fstype] [-u unit_size] [-i imgtype] [-o imgoffset]
[-b dev_sector_size] image [images] unit_addr [num]
π¦ DESCRIPTION π¦
so here's the tea: blkcat displays num data units (default is one, just one, a lil single unit, she's low maintenance) starting at the unit address unit_addr from image, and it dumps all of that to stdout in different formats β default is raw. like, no fancy packaging, just the raw truth. β¨
fun lore drop:blkcatwas calleddcatin TSK versions prior to 3.0.0. so if you're reading ancient docs, that's her old name. glow-up era. π
π ARGUMENTS π
-aβ display the contents in ASCII. cute, readable, letters and everything. π-f fstypeβ specifyimageas a specific file type, like you're telling her "bestie, i already know what this is." ifswapis given here, the image will be displayed in pages of size 4096 bytes. ifrawis given, then 512-bytes is used as the default size. and psst β the-uflag can change that default size. use-f listto list the supported file system types. if you don't give this at all, autodetection methods are used. she'll figure it out herself, she's smart. π§-hβ display the contents in hexdump. hex girlies rise. π₯-sβ display statistics on the image: unit size, file block size, and number of fragments. the receipts. the numbers. the data. π-u unit_sizeβ specify the size of the default data unit for raw, blkls, and swap images.-i imgtypeβ identify the type of image file, such as raw. use-i listto list the supported types. if not given, autodetection methods are used. again β she's got it, she'll clock it herself. π-o imgoffsetβ the sector offset where the file system starts in the image. like, where does the actual party begin inside this 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. assumed! she's guessing! (well, defaulting. same energy.) π-vβ verbose output tostderr. she'll yap. affectionately.-Vβ display version. say hi to her properly. π-wβ display the contents in an HTML table format. she can do web design too apparently. π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. and here's the cute part: 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. she just knows to bring her friends. π«Άunit_addrβ address of the disk unit to display. the size of a unit on this file system can be determined using the-soption. so if you're confused, run-sfirst, bestie, that's the vibe check. βnumβ number of data units to display.
side note fr fr: the basic functionality ofblkcatcan also be achieved usingdd. and to determine which inode has allocated a given unit, theifind(1)command can be used. crossover episode. π
π EXAMPLES π
# blkcat -hw image 264 4
or
# blkcat -hw image 264
π₯ SEE ALSO π₯
π AUTHOR π
Brian Carrier <carrier at sleuthkit dot org>
Send documentation updates to <doc-updates at sleuthkit dot org>
and that's the whole page, bestie!! π this manual page lives in the General Commands Manual, section 1, and it signs off the exact same way it came in β BLKCAT(1). go read a disk image, you absolute main character. periodt. πβ¨π
π¦ where this page comes from
- alpine 3.24: sleuthkit-doc 4.15.0-r0 Β· custom
- arch rolling: sleuthkit 4.15.0-1 Β· CPL-1.0 AND GPL-2.0-or-later AND IPL-1.0
- debian bookworm: sleuthkit 4.11.1+dfsg-1+b1 Β· CPL-1.0
- debian trixie: sleuthkit 4.12.1+dfsg-3 Β· CPL-1.0
- epel 10: sleuthkit 4.15.0-2.el10_3 Β· CPL-1.0 AND IPL-1.0 AND GPL-2.0-or-later
- epel 9: sleuthkit 4.15.0-2.el9 Β· CPL-1.0 AND IPL-1.0 AND GPL-2.0-or-later
- fedora 43: sleuthkit 4.14.0-4.fc43 Β· CPL-1.0 AND IPL-1.0 AND GPL-2.0-or-later
- fedora 43: sleuthkit 4.15.0-2.fc43 Β· CPL-1.0 AND IPL-1.0 AND GPL-2.0-or-later
- fedora 44: sleuthkit 4.14.0-5.fc44 Β· CPL-1.0 AND IPL-1.0 AND GPL-2.0-or-later
- fedora 44: sleuthkit 4.15.0-2.fc44 Β· CPL-1.0 AND IPL-1.0 AND GPL-2.0-or-later
- nixos 26.05: sleuthkit 4.14.0
- nixpkgs unstable: sleuthkit 4.15.0
- opensuse-leap 16.0: sleuthkit 4.12.1-bp160.1.13 Β· CPL-1.0 AND IPL-1.0 AND GPL-2.0-or-later
- opensuse-leap 16.0: sleuthkit 4.12.1-bp160.1.13 Β· CPL-1.0 AND IPL-1.0 AND GPL-2.0-or-later
- opensuse-leap 16.0: sleuthkit 4.12.1-bp160.1.13 Β· CPL-1.0 AND IPL-1.0 AND GPL-2.0-or-later
- opensuse-leap 16.0: sleuthkit 4.12.1-bp160.1.13 Β· CPL-1.0 AND IPL-1.0 AND GPL-2.0-or-later
- ubuntu jammy: sleuthkit 4.11.1+dfsg-1 Β· CPL-1.0
- ubuntu noble: sleuthkit 4.12.1+dfsg-1.1ubuntu2 Β· CPL-1.0
- ubuntu questing: sleuthkit 4.12.1+dfsg-3
- ubuntu resolute: sleuthkit 4.12.1+dfsg-3build1 Β· CPL-1.0
- ubuntu stonking: sleuthkit 4.14.0+dfsg-1 Β· CPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms