From owner-dev-commits-src-main@freebsd.org Mon Feb 8 14:58:45 2021 Return-Path: Delivered-To: dev-commits-src-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A514353611D; Mon, 8 Feb 2021 14:58:45 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DZ8Kx3DjFz3rtZ; Mon, 8 Feb 2021 14:58:45 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 5D27C2604A; Mon, 8 Feb 2021 14:58:45 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qk1-f174.google.com with SMTP id q85so2308802qke.8; Mon, 08 Feb 2021 06:58:45 -0800 (PST) X-Gm-Message-State: AOAM533AqerekFTgnMPc/tgWYcJctz1rtxatE5oiWykPNfRQ9CD37r+H JVLaOOHMNVEDPixhcjDeK1AmECj2tMah/6HYWlE= X-Google-Smtp-Source: ABdhPJz9C/lGY1X6FANvErKqZhjBoK9s/YMA6PpBXSasjSq0KNuvx1DBIHEwLYIM2TIbNBCI265RYFRbfTcQrNsgcYg= X-Received: by 2002:a37:f50d:: with SMTP id l13mr8829310qkk.34.1612796325054; Mon, 08 Feb 2021 06:58:45 -0800 (PST) MIME-Version: 1.0 References: <202102080704.11874w7E017472@gitrepo.freebsd.org> In-Reply-To: From: Kyle Evans Date: Mon, 8 Feb 2021 08:58:30 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: 866c8b8d5ddb - main - kldload(8): Add note about using kld_list in rc.conf(5) To: Eugene Grosbein Cc: Warner Losh , Daniel Ebdrup Jensen , src-committers , "" , dev-commits-src-main@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: dev-commits-src-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for the main branch of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2021 14:58:45 -0000 On Mon, Feb 8, 2021 at 8:54 AM Eugene Grosbein wrote: > > 08.02.2021 21:08, Kyle Evans wrote: > > >> kld_list cannot do that. > >> > > > > Huh? kld_list accepts a full pathname, which is the same kind of > > specification you'd need to do with one from port in loader with > > *_name. > > Good, but seems to be undocumented. > In what sense? Is there some other place that kld_list is even documented than kldload(8)? I note that the kld service and load_kld() in rc.subr are only a really, really light wrapper around kldload(8), and kldload(8) is exceptionally clear about accepting arbitrary files.