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
+17k Golang : Iterating Elements Over A List
+24.5k Golang : How to write CSV data to file
+15.4k CodeIgniter/PHP : Create directory if does not exist example
+10.8k Golang : Print UTF-8 fonts on image example
+5.5k Golang : Embedded or data bundling example
+39.2k Golang : How to count duplicate items in slice/array?
+28.9k Golang : Generate random string
+8.2k Golang : Create unique title slugs example
+6.8k Golang : Sort words with first uppercase letter
+26.5k Golang : Decode/unmarshal unknown JSON data type with map[string]interface
+16.3k Google Chrome : Your connection to website is encrypted with obsolete cryptography
+4.7k Linux/Unix/PHP : Restart PHP-FPM