Mac OSX : Get disk partitions' size, type and name
Something when wrong with my Mac today and I need to find out all the disk partitions information on my Mac. So... instead of right-clicking on each items in Disk Utility to get the partition's size information such as this :
Which can be troublesome if there are many disk partitions.
There is a better way to do this, but from the disk utility's command line brother.
Open up terminal and type this command :
>diskutil list
It should list out the partition's location, type , name and size.
and to confirm if the information is indeed correct. I selected a mounted DMG file and right-click to get the disk information.
Hope this short tutorial helps!
See also : Mac OSX : Find large files by size
By Adam Ng
IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.
Advertisement
Tutorials
+26.3k Golang : Encrypt and decrypt data with AES crypto
+7.3k Golang : Set horizontal, vertical scroll bars policies and disable interaction on Qt image
+5.5k Golang : Struct field tags and what is their purpose?
+11.7k Golang : Sort and reverse sort a slice of runes
+6.8k Javascript : How to get JSON data from another website with JQuery or Ajax ?
+9.5k Golang : Turn string or text file into slice example
+9.9k Golang : How to profile or log time spend on execution?
+8.7k Golang : io.Reader causing panic: runtime error: invalid memory address or nil pointer dereference
+12.8k Golang : Calculate elapsed years or months since a date
+6.5k Golang : Get expvar(export variables) to work with multiplexer
+5.8k Javascript : Get operating system and browser information
+15.2k Golang : Force download file example