22

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?

27

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

| improve this answer | |
  • link is dead mate – Theo Jun 26 '18 at 9:22
  • 1
    diskutil list also shows all available drives and volumes with their type (file-system). – Robert Nov 27 '18 at 10:04
  • 1
    diskutil info -all – Shayan Oct 20 '19 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.

| improve this answer | |
4

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

| improve this answer | |
  • it works, but output is a bit ugly though. – pdwalker Oct 28 '19 at 6:56
  • mount | column -t makes it less visually dense. – erik.weathers Nov 20 '19 at 20:15
3

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

| improve this answer | |
0

The 'mount' will show the filesystem type.

| improve this answer | |

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.