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

lsblk

List out block-devices, including disks and partitions

10 releases (4 breaking)

0.5.0 Jan 26, 2025
0.4.0 Jul 18, 2024
0.3.0 Jul 6, 2024
0.2.4 Jul 4, 2024
0.1.1 Jun 22, 2024

#458 in Filesystem

Download history 9/week @ 2024-11-04 1/week @ 2024-11-11 4/week @ 2024-11-18 52/week @ 2024-12-02 73/week @ 2024-12-09 111/week @ 2024-12-16 163/week @ 2024-12-23 132/week @ 2024-12-30 17/week @ 2025-01-06 4/week @ 2025-01-13 111/week @ 2025-01-20 133/week @ 2025-01-27 46/week @ 2025-02-03 50/week @ 2025-02-10

340 downloads per month
Used in filesystem-table

MIT license

19KB
284 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

~240–690KB
~16K SLoC