Commit Briefs

d8ccbf7d15 Benjamin Stürz

Bump to 1.3.1 (master, tags/v1.3.1)

Signed-off-by: Benjamin Stürz <benni@stuerz.xyz>


da8ee0a6a3 Benjamin Stürz

Add missing ChangeLog entries

Signed-off-by: Benjamin Stürz <benni@stuerz.xyz>


39af3b8c4e Benjamin Stürz

Bump to 1.3 (tags/v1.3)

Signed-off-by: Benjamin Stürz <benni@stuerz.xyz>


da455e1677 Benjamin Stürz

Change output of -i option

Signed-off-by: Benjamin Stürz <benni@stuerz.xyz>


4520a881d8 Benjamin Stürz

Add 'Contributing' section to README

Signed-off-by: Benjamin Stürz <benni@stuerz.xyz>


bc41577a23 Benjamin Stürz

Release of v1.2.4 (tags/v1.2.4)

Signed-off-by: Benjamin Stürz <benni@stuerz.xyz>


2f06f21f38 Benjamin Stürz

Minor code style adjustments

Signed-off-by: Benjamin Stürz <benni@stuerz.xyz>


56e083741c Benjamin Stürz

Fix allocation bug

Previously, lsblk would allocate space only for n-1 drives. Signed-off-by: Benjamin Stürz <benni@stuerz.xyz>


14fd8749d8 Benjamin Stürz

Better error handling (tags/v1.2.3)

Signed-off-by: Benjamin Stürz <benni@stuerz.xyz>


f3229a3c29 Benjamin Stürz

Removed -Werror (tags/v1.2.2)

Signed-off-by: Benjamin Stürz <benni@stuerz.xyz>


Branches

Tags

Tree

.gitignorecommits | blame
ChangeLog.mdcommits | blame
LICENSEcommits | blame
Makefilecommits | blame
README.mdcommits | blame
lsblk.8commits | blame
lsblk.ccommits | blame

README.md

# 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`

## TODO
- [x] `lsblk sd0`
- [ ] `lsblk sd0a`
- [ ] `lsblk -f duid,size`
- [x] Don't use manual padding.
- [x] Support disks that have more than 2 letters, like `vnd0`
- [x] Sort drives by name
- [ ] Add an option to make the output script-friendly (like -c for CSV).
- [x] Maybe: Display the child device of a RAID partition
- [x] Show the DUID
- [ ] Explain the exact meaning of every field in lsblk.8

## Contributing
If you find any bugs or have suggestions/patches,
please contact me at <benni@stuerz.xyz>.