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
+33.6k Golang : convert(cast) bytes to string
+12.3k Golang : HTTP response JSON encoded data
+7.3k Golang : Handling Yes No Quit query input
+20.3k Golang : Secure(TLS) connection between server and client
+4.7k Python : Find out the variable type and determine the type with simple test
+54.9k Golang : Unmarshal JSON from http response
+8.6k Golang : Accept any number of function arguments with three dots(...)
+14.3k Golang : Convert(cast) int to float example
+21.4k SSL : How to check if current certificate is sha1 or sha2
+23k Golang : Print out struct values in string format
+9.3k Golang : Get all countries currencies code in JSON format