Hi Laurent,

On 31.05.23 15:29, Laurent Cheylus wrote:
On Tue, 30 May 2023 17:28:00 +0200, Benjamin Stürz wrote:

lsblk(8) is a simple tool to list attached block devices.
This specifically is a clone of the one in util-linux.

This is actually my second attempt of submitting this port.
This time I reworked most of it, fixed all bugs (hopefully :),
incorporated feedback, added a few options and a manual,
and added support for RAID through bio(4).

NOK, lsblk SegFault on openbsd-current/amd64 (VM with VirtualBox on Linux/
Debian)

$ doas /usr/obj/ports/lsblk-1.2.3/fake-amd64/usr/local/sbin/lsblk
Segmentation fault
I have finally gotten OpenBSD on VirtualBox working and found the bug:
lsblk allocated space for only n-1 drives and for some reason,
probably because of the malloc changes in -current,
only now this issue caused crashs.

I have attached a new version of lsblk.

Thanks,
Benjamin Stürz

Attachment: lsblk-1.2.4.tgz
Description: Binary data

Reply via email to