BLKLS(1)
π BLKLS β bestie's guide to listing file system data units π
okay so this is blkls from the General Commands Manual, section 1, and it is literally the tool that digs through your disk image and hands you back raw file system data units (aka blocks). she's an icon, she's a classic, and she's about to make your forensic life so much easier. let's gooo β¨
β¨ SYNOPSIS β¨
blkls [-aAelsvV] [-f fstype ] [-i imgtype ] [-o imgoffset ] [-b
dev_sector_size] image [images] [start-stop]
like yes bestie, that's a lot of flags, but we're gonna go through every single one, no skips, no cap. π«Ά
πΈ DESCRIPTION πΈ
blkls opens up the image (or images!! plural!!) you name and copies file system data units β the blocks, babe. π
by default, blkls copies the contents of unallocated data blocks. that's the default vibe.
quick lore drop because iykyk: blkls was called dls in TSK versions prior to 3.0.0, and before that it was called unrm in TCT. so if you see those names floating around in old docs, that's her. glow-up complete. π
π ARGUMENTS π
-eβ copy every block, including the file system metadata blocks. the output is the entire file system. literally all of it, no crumbs left.-aβ display all allocated blocks. (heads up: this is the same as-eif-Ais also given π)-Aβ display all unallocated blocks. (also same as-eif-ais also given β these two are besties fr). this is the default behavior. β-ffstypeβ specifies the file system type. use-f listto list the supported file system types. if you don't give it, autodetection methods are used. she'll figure it out herself, she's smart like that. π§-iimgtypeβ identify the type of image file, such asraw. use-i listto list the supported types. if you don't give it, autodetection methods are used. again, she's got it. β¨-oimgoffsetβ the sector offset where the file system starts in the image. basically telling her "bestie, the actual party starts over here." π―-bdev_sector_sizeβ the size, in bytes, of the underlying device sectors. if you don't give it, the value in the image format is used (if it exists) or512-bytes is assumed. so like,512is the fallback fit. π-lβ list the data information in time machine format. yes it's giving time travel, we love a themed output. π°οΈ-sβ copy only the slack space of the image. the in-between bits. the secret little gaps. π-vβ turn on verbose mode, output to stderr. she will talk to you. a lot. and it goes to stderr, so pipe accordingly bestie. π£οΈ-Vβ display version. quick little "hi, here's who i am." π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. auto-gluing the split parts together?? obsessed. πstart-stop ...β examine the specified block number or number range. pick your faves, or a whole lil range of them. π
ngl the-a/-A/-ecombo is the thing people get tripped up on β re-read it, because they literally overlap with each other. no skimming bestie, this is the whole point of the flag. π
π LICENSE π
this software is distributed under the IBM Public License. periodt. legal girlies, that's your section.
π HISTORY π
first appeared in The Coroners Toolkit (TCT) 1.0 (Wietse Venema). now maintained by Brian Carrier <carrier at sleuthkit dot org>. π
send documentation updates to <doc-updates at sleuthkit dot org> β she loves feedback, don't be shy. π
and that's the whole page bestie!! this came out of the General Commands Manual, section 1, footer sitting there saying BLKLS(1) right back at you like a little mirror. now go copy some blocks, you absolute main character. π
β¨π¦πΈπ
π¦ 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