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
+8.1k Golang : Drop cookie to visitor's browser and http.SetCookie() example
+1.8k Linux : How to fix Brother HL-1110 printing blank page problem
+5.5k Golang : Sort and reverse sort a slice of integers
+5.4k Golang : Pass database connection to function called from another package and HTTP Handler
+19.9k error: trying to remove "yum", which is protected
+16.4k Golang : Find biggest/largest number in array
+1.9k Golang : Configure Apache and NGINX to access your Go service example
+1.9k Javascript : How to show different content with noscript?
+2.7k Javascript : How to replace HTML inside <div>?
+15k Golang : convert int to string
+8.5k Golang : Put UTF8 text on OpenCV video capture image frame
+9k Golang : Check if a string contains multiple sub-strings in []string?