block_devices

Block (buffered access) device file nodes: disks, ramdisks, and DMG containers.

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: block_devices

  • Linux

  • Mac OSX

Table schema

Name

Type

Description

name

TEXT

Block device name

parent

TEXT

Block device parent name

vendor

TEXT

Block device vendor string

model

TEXT

Block device model string identifier

size

BIGINT

Block device size in blocks

block_size

INTEGER

Block size in bytes

uuid

TEXT

Block device Universally Unique Identifier

type

TEXT

Block device type string

label

TEXT

Block device label string

Query examples

Select all the results for the given table.

SELECT * FROM block_devices;