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
+6.2k Golang : Handling image beyond OpenCV video capture boundary
+5.6k Golang : Launching your executable inside a console under Linux
+5.8k Linux/MacOSX : Search for files by filename and extension with find command
+17.4k Convert JSON to CSV in Golang
+5.1k Javascript : Shuffle or randomize array example
+20k nginx: [emerg] unknown directive "passenger_enabled"
+8.2k Golang : Ackermann function example
+20.4k Golang : Convert date string to variants of time.Time type examples
+12.7k Python : Convert IPv6 address to decimal and back to IPv6
+5.1k Golang : Pad file extension automagically
+20.8k Golang : Clean up null characters from input data
+12.2k Elastic Search : Return all records (higher than default 10)