25

I have an external drive hooked up to my Mac, and I'm trying to determine things like, e.g., is this HFS or FAT, is it 32-bit or 64-bit, etc. It seems like there should be some trivial command that gives me this info, but I can't seem to find one. Ideas?

5 Answers 5

30

diskutil(8) with the info predicate will give you information about a disk or partition.

3
  • link is dead mate
    – Theo
    Jun 26, 2018 at 9:22
  • 2
    diskutil list also shows all available drives and volumes with their type (file-system).
    – Robert
    Nov 27, 2018 at 10:04
  • 2
    diskutil info -all
    – Shayan
    Oct 20, 2019 at 22:48
6

Highlight the volume in finder (note, that it must be the root of the volume), and hit cmd + i. The info dialog that appears shows you the filesystem type against the Format label.

6

Running mount in Terminal.app also works and has way less noise when compared to diskutil info -all.

2
  • 1
    it works, but output is a bit ugly though.
    – pdwalker
    Oct 28, 2019 at 6:56
  • mount | column -t makes it less visually dense. Nov 20, 2019 at 20:15
3

Unless you're wedded to doing it from the command line, use Disk Utility and it's "Info" button.

0

The 'mount' will show the filesystem type.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.