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 - [ ] `lsblk -f duid,size`
24 - [ ] Sort drives by name
25 - [ ] Add an option to make the output script-friendly (like -c for CSV).
26 - [x] Maybe: Display the child device of a RAID partition
27 - [x] Show the DUID
28 - [ ] Explain the exact meaning of every field in lsblk.8