The driveinfo command gets detailed information about a specific drive. The script parses property lists emitted by the diskutil command to compile the information. If the drive contains a GUID Partition Table (GPT), then detailed information about each partition is also included in a tabular form. This also allows free space on a drive, using a GPT, to be identified.

The gpt command can be used to view the actual stored GPT values in in a tabular form. Starting with macOS, the gpt command can no longer read the GPT on an operating system boot drive, unless System Integrity Protection (SIP) is disabled. The driveinfo command does not require disabling SIP and can produce the same basic tabular output as the gpt command.

Features

  • Can be run with or without installing.
  • User can select which columns to include in displayed table.
  • Free space is displayed.
  • Numerical values can be displayed in bytes or logical sector size blocks.
  • Frequently used options can be stored in an environment variable.
  • Output can be colorized.
  • Error checking for alignment, overlap and invalid values can be preformed.

Project Samples

Project Activity

See All Activity >

Categories

Installers

License

GNU General Public License version 3.0 (GPLv3)

Follow driveinfo

driveinfo Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of driveinfo!

Additional Project Details

Operating Systems

Mac

Languages

English

Intended Audience

End Users/Desktop

User Interface

Command-line

Programming Language

Unix Shell

Related Categories

Unix Shell Installers

Registered

2018-11-26