Using the DeviceInfo tool for Mac

Obtaining a device vendor, model, or serial number for Mac devices with DeviceInfo

You can use the DeviceInfo tool to obtain the device vendor, model, or serial number for a specific device on the Mac client to use in Device Control policies.

Note:

This tool only works to identify this information for mounted devices. This tool does not recognize non-mounted devices.

To obtain a device vendor, model, or serial number for Mac devices with DeviceInfo

  1. In the installation file, locate the \Tools\DeviceInfo folder, and then copy this folder to the desktop of the Mac client computer.
  2. On the Mac client computer, ensure the device for which you want to obtain information is connected, and then open the Terminal application.
  3. To navigate to the tool's folder, type the following command:

    cd ~/Desktop/DeviceInfo/

  4. To obtain the device's information, enter the following command:

    ./DeviceInfo

  5. Make note of the relevant information from the results, for use in your device control policy for Mac.

See Options for DeviceInfo.

Options for DeviceInfo

Table: DeviceInfo options

Usage

Description

deviceInfo

Returns the ID, model, vendor, and serial number for mounted devices.

deviceInfo --dump

Returns all device information.

deviceInfo --monitor

Monitors for a new device for 40 seconds, and then returns the ID, model, vendor, and serial number information for any new devices detected.

deviceInfo --monitor-dump

Monitors for a new device for 40 seconds, and then returns all information for any new devices detected.

deviceInfo --path "/Volumes/mountedVolumeName"

Returns the ID, model, vendor, and serial number for a mountable hard device on the specified device path with the volume name mountedVolumeName. An example of a mountable hard device is a hard drive.

deviceInfo --path-dump "/Volumes/mountedVolumeName"

Returns all device information for a mountable hard device on the specified device path with the volume name mountedVolumeName. An example of a mountable hard device is a hard drive.

See Obtaining a device vendor, model, or serial number for Mac devices with DeviceInfo.

Legal notice

Product version: 14.x

Documentation version: 3

This document was last updated on: February 18, 2020

Broadcom, the pulse logo, Connecting everything, and Symantec are among the trademarks of Broadcom.

Copyright © 2020 Broadcom. All Rights Reserved. The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.

For more information, please visit https://www.broadcom.com.