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
+13.1k Golang : How to get URL port?
+8.3k Golang : How to get ECDSA curve and parameters data?
+5.9k Golang : Decode XML data from RSS feed
+10.4k Golang : Secure file deletion with wipe example
+5.3k Apt-get to install and uninstall Golang
+9.6k Golang : Replace a parameter's value inside a configuration file example
+12.7k Golang : Get current time
+6.2k Nginx : How to block user agent ?
+10.7k Golang : Perform sanity checks on filename example
+26.5k Get file path of temporary file in Go
+20.7k Golang : How to run Golang application such as web server in the background or as daemon?