#block-devices #partition #disk #system #list #listing

lsblk

List out block-devices, including disks and partitions

9 unstable releases (3 breaking)

0.4.0 Jul 18, 2024
0.3.0 Jul 6, 2024
0.2.4 Jul 4, 2024
0.2.2 Jun 29, 2024
0.1.1 Jun 22, 2024

#580 in Filesystem

MIT license

15KB
211 lines

lsblk-rs

This library lists out block-devices, if that wasn't obvious…?


lib.rs:

A library that lists out block-devices.

Check out BlockDevice::list and Mount::list.

Dependencies

~260–730KB
~17K SLoC