BSD Ports

sysutils/lsblk 1.3.1p0 OpenBSD

list block devices

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Benjamin Stuerz <[email protected]>
Categories
sysutils

Description

Show information about block devices that are attached to the system, including name, size, type, and information about the disklabel on them, such as name, size, type, and mount point of each partition. Because it accesses the raw disk devices, it must be run as root.

This is an incompatible clone of util-linux's lsblk(8) for OpenBSD.

In the other systems

SystemPortVersion
OpenBSDsysutils/lsblk1.3.1p0
FreeBSDsysutils/lsblk4.1_1
DragonFlysysutils/lsblk3.9
MidnightBSDsysutils/lsblk3.7

Install

Binary package:

pkg_add lsblk

From the ports tree:

cd /usr/ports/sysutils/lsblk && make install

Dependencies

No port depends on this one.