Friday, June 09, 2023

Re: [new] sysutils/lsblk

On Thu, 8 Jun 2023 22:44:12 +0200, Benjamin Stürz wrote:

> 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.

Build and tests OK on current/amd64 in a VM on VirtualBox.

$ lsblk -V
lsblk-1.2.4

$ doas lsblk
NAME SIZE TYPE COMMENT
wd0 40G ESDI/IDE VBOX HARDDISK
├─wd0a 1.0G 4.2BSD /
├─wd0b 2.2G swap
├─wd0c 40G unused
├─wd0d 2.4G 4.2BSD /tmp
├─wd0e 3.9G 4.2BSD /var
├─wd0f 4.4G 4.2BSD /usr
├─wd0g 1.0G 4.2BSD /usr/X11R6
├─wd0h 5.4G 4.2BSD /usr/local
├─wd0i 1.8G 4.2BSD /usr/src
├─wd0j 6.0G 4.2BSD /usr/obj
└─wd0k 11G 4.2BSD /home

Thanks for the fix.

Laurent

No comments:

Post a Comment