---
name: "fstyp_hfs"
section: "8"
platform: "macos"
package: "hfs"
version: "715.120.4"
release: "macOS 26.5"
platforms: ["macos"]
url: "https://new.carta.tech/fstyp_hfs"
---

# fstyp\_hfs(8)

check for an HFS volume

## NAME

**fstyp\_hfs** – check for an HFS volume

## SYNOPSIS

**fstyp\_hfs** *device*

## DESCRIPTION

The **fstyp\_hfs** utility is not intended to be run directly, but rather called by [fstyp(8)](/fstyp/8.md) while it is trying to determine which file system type is present on the given device. It returns 1 if it thinks the device contains an HFS volume, and 0 otherwise.

## SEE ALSO

[fstyp(8)](/fstyp/8.md)
