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
+12k Golang : Detect user location with HTML5 geo-location
+27.9k Golang : Move file to another directory
+11.3k Golang : Delay or limit HTTP requests example
+6.1k Golang : Extract XML attribute data with attr field tag example
+11.5k CodeIgniter : Import Linkedin data
+17.8k Golang : Qt image viewer example
+7.4k Golang : Hue, Saturation and Value(HSV) with OpenCV example
+24.4k Golang : How to validate URL the right way
+21.7k Golang : Convert string slice to struct and access with reflect example
+11.6k How to tell if a binary(executable) file or web application is built with Golang?
+4.6k Mac OSX : Get disk partitions' size, type and name
+13.4k Facebook PHP getUser() returns 0