Hi ports@, I have reworked my lsblk(8) clone a lot. Now it has a little man page and a few options (mainly -a). It also works with RAID devices (only softraid(4) tested).
I don't have any commit rights, so if you are interested in committing this, please let me know. Comments and testing are still appreciated, especially if you have an exotic disk-setup, like multiple RAIDs that aren't all softraid(4). Since I switched to OpenBSD, it has always been a little pain in the ass for me to use the sysctl hw.disknames, disklabel, etc sequence. This port is meant to address this in a nice way. WWW: https://git.stuerz.xyz/openbsd/lsblk Best regards, Benjamin Stürz On 30.04.23 20:58, Benjamin Stürz wrote:
Hello, this my first time submitting a port to OpenBSD. DESCR: Clone of util-linux's lsblk(8) for OpenBSD.I have tested it on amd64 and it works with my SATA SSD and USB HDD. Please test it on your hardware and give me feedback.Unfortunately it requires root permissions, but a workaround would be to: # chgrp operator /usr/local/sbin/lsblk # chmod g+s /usr/local/sbin/lsblk If you have any ideas for improvement, please let me know. Best regards, Benjamin Stürz
lsblk-1.2.tgz
Description: Binary data
