Files
oam/knowledge base/lsblk.md

538 B

lsblk

Table of contents

  1. TL;DR
  2. Sources

TL;DR

# Install the tool.
dnf install 'util-linux'

# Show information about block devices.
lsblk
lsblk -a

# Also print other specific columns.
# Mind the '+' character at the beginning.
lsblk -o '+MODEL,SERIAL'

# Show only physical disks
lsblk -d

# Filter by major device numbers.
lsblk -I '8,259'

Sources