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
+32.9k Golang : Integer is between a range
+7.9k Golang : Apply Histogram Equalization to color images
+15.5k Golang : How to generate QR codes?
+5.7k Golang : Find the shortest line of text example
+9.4k Golang : Select region of interest with mouse click and crop from image
+7.4k Android Studio : Image button and button example
+53.2k Golang : Unmarshal JSON from http response
+7.2k Golang : Emulate NumPy way of creating matrix example
+6.4k Golang : Get YouTube playlist
+44.5k Golang : Encode image to base64 example
+5.8k Golang : Fixing Gorilla mux http.FileServer() 404 problem
+9.2k Golang : How to get quoted string into another string?