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
+9.4k Golang : Add ASCII art to command line application launching process
+17.5k Mac OSX : Homebrew and Golang
+6.2k Golang : Variadic function arguments sanity check example
+10.3k Golang : Sort and reverse sort a slice of bytes
+6.1k Golang : Tell color name with OpenCV example
+7.8k Golang : interface - when and where to use examples
+2.7k Golang : Converting individual Jawi alphabet to Rumi(Romanized) alphabet example
+9.9k Golang : Calculations using complex numbers example
+14.6k Golang : delete and modify XML file content
+8.9k Linux : How to install driver for 600Mbps Dual Band Wifi USB Adapter
+10k CodeIgniter : Import Linkedin data
+13.3k Golang : Read integer from file into array