disk_info

Retrieve basic information about the physical disks of a system.

Platform support

Please be aware that some queries can only be run against certain platforms. Below is a list of the supported platforms that this query supports. Zercurity will automatically pause queries from running if errors are detected. Running a query against an unsupported platform will result in the following error: no such table: disk_info

  • Windows

Table schema

Name Type Description
partitions INTEGER Number of detected partitions on disk.
disk_index INTEGER Physical drive number of the disk.
type TEXT The interface type of the disk.
id TEXT The unique identifier of the drive on the system.
pnp_device_id TEXT The unique identifier of the drive on the system.
disk_size BIGINT Size of the disk.
manufacturer TEXT The manufacturer of the disk.
hardware_model TEXT Hard drive model.
name TEXT The label of the disk object.
serial TEXT The serial number of the disk.
description TEXT The OS’s description of the disk.

Query examples

Select all the results for the given table.

SELECT * FROM disk_info;