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
+9.8k Golang : Qt get screen resolution and display on center example
+9.2k Golang : Generate Codabar
+7.7k Golang : Error reading timestamp with GORM or SQL driver
+12.5k Golang : Forwarding a local port to a remote server example
+33.9k Golang : Call a function after some delay(time.Sleep and Tick)
+22.2k Golang : Print leading(padding) zero or spaces in fmt.Printf?
+9.5k Facebook : Getting the friends list with PHP return JSON format
+17k Golang : Get number of CPU cores
+12.3k Golang : How to check if a string starts or ends with certain characters or words?
+16.1k Golang : Generate universally unique identifier(UUID) example
+9.8k Golang : Detect number of active displays and the display's resolution
+16.7k Golang : Gzip file example