Haskell has POSIX/Unix functionality, but it seems not to implement lsblk or anything you're looking for. Either extend the interface by using the FFI to import the C libraries or depend on a tool that does so already.
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
Abstract filepath coming soon
7 projects | reddit.com/r/haskell | 23 Jun 2022
Using posix semaphores on MacOS (and iOS)
1 project | reddit.com/r/haskell | 17 Jun 2022
Asking for opinion about new `sysinfo` API
1 project | reddit.com/r/rust | 25 May 2022
Sysinfo 0.20.2 just released!
1 project | reddit.com/r/rust | 30 Aug 2021
sys_metrics - blazing fast lib to gather host metrics
2 projects | reddit.com/r/rust | 11 Aug 2021