How can I list all the currently memory devices on MacOS X? I need to do this by command, because I have an Java application that needs this information.
Thanks
|
How can I list all the currently memory devices on MacOS X? I need to do this by command, because I have an Java application that needs this information. Thanks |
|||
|
|
|
You can use the native OS X diskutil command as shown below:
If you're doing this from the command line the following command would list the Volumes currently mounted and their mount point in the filesystem:
If you're just interested in the physical disks:
Or the mount points:
|
|||
|
|