macOS / binaries /

newfs_hfs

/sbin/newfs_hfs
Construct a new HFS Plus file system

The newfs_hfs builds an HFS Plus file system on the specified special device. Before running newfs_hfs the disk should be partitioned using the Disk Utility application or pdisk. The file system default parameters are calculated based on the size of the disk partition.

source: man