Blob


1 # lsblk for OpenBSD
2 This project aims to implement a clone of lsblk(8) for OpenBSD.
4 ## Install
5 ``` sh
6 # Clone the repo.
7 git clone git://stuerz.xyz/openbsd/lsblk
9 # Build & Install lsblk(8).
10 make && doas make install
12 # Optional: Make non-roots be able to run lsblk(8).
13 doas make unroot
14 ```
16 ## Quirks
17 - It requires root privileges
18 Workaround: `make unroot`
20 ## TODO
21 - [x] `lsblk sd0`
22 - [ ] `lsblk sd0a`
23 - [ ] open(2) -> opendev(3)
24 - [ ] Add an option to make the output script-friendly (like -c for CSV).
25 - [ ] Maybe: Display the child device of a RAID partition
26 - [x] Show the DUID