disktype
« Back to VersTracker
Description:
Detect content format of a disk or disk image
Type: Formula  |  Latest Version: 9@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: disk forensics filesystem analysis recovery
Install: brew install disktype
About:
Disktype is a command-line utility that analyzes disk images and physical disks to identify their content format and partition scheme. It can detect various filesystems, partition tables like MBR and GPT, and other data structures without needing to mount them. This tool is invaluable for data recovery and forensic analysis where understanding the underlying structure of unknown disk media is essential.
Key Features:
  • Supports a wide range of filesystems including NTFS, HFS+, ext2/3/4, and FAT
  • Detects partition tables (MBR, GPT) and RAID configurations
  • Analyzes raw disk images as well as physical devices
  • Provides detailed output about disk structure and contained data
Use Cases:
  • Identifying the format of an unknown disk or image file for data recovery
  • Verifying disk structure before performing partitioning or formatting operations
  • Forensic analysis of disk images to understand their contents
Alternatives:
  • file – The standard 'file' command can identify some disk formats but is less specialized and detailed than disktype.
  • testdisk – TestDisk is primarily for partition recovery and repair, while disktype is focused solely on identification and analysis.
License: MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, arm64_big_sur, sonoma, ventura, monterey, big_sur, catalina, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit