fstyp(8)

fstyp8

Identify a file system

Usage

fstyp device

Overview

The fstyp utility attempts to determine what sort of volume is present on the given device. It operates by iterating over directories that are typically part of the path, searching for files matching the pattern fstyp_* and running them. If it finds a match, it will print out the file system type name and exit with a return value of 1. If it does not find a match, it will not print out anything, and the return value will be 0.

Releases

Unchanged in 115 releases since Mac OS X 10.5.

  1. 10.5–26.5

From diskdev_cmds 757 in macOS 26.5. Parsed by carta from the page's mdoc source.