MMLS(1)
๐ MMLS(1) โ the manual page, but make it cute ๐
okay bestie, so this is mmls, straight out of section 1 of the General Commands Manual, and she's about to tell you exactly how your disk is laid out. no gatekeeping, periodt. ๐ซถ
โจ NAME โจ
mmls โ display the partition layout of a volume system (partition tables) ๐
๐ธ SYNOPSIS ๐ธ
mmls [-t mmtype ] [-o offset ] [ -i imgtype ] [-b dev_sector_size]
[-BrvV] [-aAmM] image [images]
๐ฆ DESCRIPTION ๐ฆ
mmls shows you the layout of the partitions inside a volume system โ and yes, "volume system" includes partition tables and disk labels. it's giving full structural tour of your disk. โจ
๐ ARGUMENTS ๐
okay so here's the whole menu, every single one, no skipping, iykyk:
-t mmtypeโ pick your media management type. not sure what's even supported? run-t listand it'll tell you the whole roster. if you don't pass this at all, it just uses the autodetection methods instead. lowkey magical. ๐ฎ-o offsetโ the offset into the image where the volume that holds the partition system actually starts. and get this: the relative offset of the partition system gets added to this value. math is mathing. ๐งฎ-b dev_sector_sizeโ how big your underlying device sectors are, in bytes. don't pass it? then it uses whatever value is in the image format (if that value even exists), and if it doesn't, it just assumes 512 bytes. default queen. ๐-i imgtypeโ tells it what kind of image file you're dealing with, likeraw. want the full list?-i list. skip it entirely and autodetection methods take over. ๐ต๏ธ-Bโ adds a whole column showing the partition sizes in bytes. numbers girlies rise. ๐-rโ recurses into DOS partitions looking for other partition tables. this setup is super common when Unix is installed on x86 systems, so likeโฆ don't be surprised. ๐-vโ verbose output, aka debugging statements, and they go tostderr. it will not shut up (affectionate). ๐ฃ๏ธ-Vโ displays the version. that's it, that's the whole vibe check.-aโ show allocated volumes โจ-Aโ show unallocated volumes ๐ณ๏ธ-mโ show metadata volumes ๐-Mโ hide metadata volumes ๐image [images]โ the disk or partition image you want to read, whose format you give with-i. you can hand it multiple image file names if your image is split into multiple segments. and if you only give it one image file and its name is the first in a sequence (like, say, as indicated by ending in.001), the subsequent image segments get pulled in automatically. auto-slaying. ๐
mmls is similar to fdisk -lu on Linux, but with a few differences, and honestly the differences are the main character energy here:
- it shows you which sectors are not being used, so you can go search those for hidden data. ๐ต๏ธโ๏ธ
- it gives the length value so you can plug it into
ddmore easily when you're extracting partitions. ๐ - it also shows BSD disk labels for Free, Open, and NetBSD. ๐ก
- it displays the output in sectors, not cylinders. no cylinder discourse here.
- lastly: it works on non-Linux systems. inclusivity icon. ๐
if you don't give it any of -a, -A, -m, or -M, then all volume types get listed. but if you give it any of them, then only the types you specified on the command line get listed. choose your fighter. ๐ฅ
now let's define the volume types, because the words are doing a lot:
- Allocated volumes are the ones listed in a partition table in the volume system AND that can store data. the certified data-storing girlies.
- Unallocated volumes are basically virtually created by
mmlsjust to show you which sectors have not been allocated to a volume. she's fictional but she's serving a purpose. โจ - The metadata volumes overlap the allocated and unallocated volumes, and they describe where the partition tables and other metadata structures live. in some volume systems these structures sit in allocated space, in others they sit in unallocated space. and in some volume systems their location is explicitly given in the partition tables, and in others it is not. it's giving it depends. ๐คทโ๏ธ
๐ EXAMPLES ๐
want to list the partition table of a Windows system using autodetect? say less:
# mmls disk_image.dd
want to list the contents of a BSD system that starts in sector 12345 of a split image? obsessed. do this:
# mmls -t bsd -o 12345 -i split disk-1.dd disk-2.dd
๐ AUTHOR ๐
Brian Carrier <carrier at sleuthkit dot org> โ the icon who wrote this. ๐
and that's the whole page bestie, MMLS(1) from the General Commands Manual, footer and all. go forth and know your partition layout. no cap. ๐โจ๐๐ฆ๐ธ๐
๐ซถ
๐ฆ 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
- 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
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms