commit 1abb1c5c81f95aa6b4f89c9a30117f7a68027c40 from: Benjamin Stürz date: Tue May 02 22:16:23 2023 UTC Updates README commit - 5e639d909ade3530ad06c9b186799f73b5db6874 commit + 1abb1c5c81f95aa6b4f89c9a30117f7a68027c40 blob - db64be1359770b9fbbefe55530c01f16881c728d blob + f5fe2aafcb81080dafe5bcc38bc2e25e6e926488 --- README.md +++ README.md @@ -1,6 +1,18 @@ # lsblk for OpenBSD -This project aims to implement a clone of lsblk for OpenBSD. +This project aims to implement a clone of lsblk(8) for OpenBSD. +## Install +``` sh +# Clone the repo. +git clone git://stuerz.xyz/openbsd/lsblk + +# Build & Install lsblk(8). +make && doas make install + +# Optional: Make non-roots be able to run lsblk(8). +doas make unroot +``` + ## Quirks - It requires root privileges Workaround: `make unroot` @@ -8,3 +20,4 @@ This project aims to implement a clone of lsblk for Op ## TODO - [ ] Fancy unicodes: `├─` & `└─` - [ ] Where should "LABEL" go? After "NAME" or before "MOUNT"? +- [ ] `lsblk sd0`