kldstat -v not showing paths

Aaron LI aly at aaronly.me
Tue Feb 21 06:39:04 PST 2023


Hi,

So I’ve implemented this feature in the master branch. It works the same way as FreeBSD.

FYI, the changes to the kernel part and kldstat(8) are obtained from FreeBSD. However, the boot loader part is quite different and took much efforts.

Cheers,
Aaron

> On Jan 11, 2023, at 05:53, Will Senn <will.senn at gmail.com> wrote:
> 
>  Hi,
> 
> Is there a way to determine whether or not a module is being loaded from /boot/kernel or  /boot/modules.local? I tried kldstat -v, but it doesn't show the path:
> 
>  4    1 0xffffffff82600000 3972000  amdgpu.ko
>     Contains modules:
>         Id Name
>         329 vgapci/amdgpu
> 
> vs on freebsd:
> 
>  2    1 0xffffffff825c1000   5a2c28 openzfs.ko (/boot/modules/openzfs.ko)
>     Contains modules:
>          Id Name
>           1 zfsctrl
>           3 zfs
>           4 zfs_zvol
>           2 zfs_vdev
> 
> Thanks,
> Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20230221/6b43083b/attachment.htm>


More information about the Users mailing list