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
+10.2k Golang : Check a web page existence with HEAD request example
+18.7k Golang : Iterating Elements Over A List
+14.1k Golang : Compress and decompress file with compress/flate example
+4.9k HTTP common errors and their meaning explained
+13.7k Android Studio : Password input and reveal password example
+14.2k Golang : Check if a file exist or not
+9.4k Golang : Find the length of big.Int variable example
+48.6k Golang : Upload file from web browser to server
+7.4k Golang : How to convert strange string to JSON with json.MarshalIndent
+23.8k Find and replace a character in a string in Go
+5.6k PHP : Fix Call to undefined function curl_init() error
+7.5k Golang : Shuffle strings array