From owner-freebsd-questions@freebsd.org Wed May 13 16:13:17 2020 Return-Path: Delivered-To: freebsd-questions@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 CA9C32FA2DC for ; Wed, 13 May 2020 16:13:17 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Mfq14z4lz4F4Y for ; Wed, 13 May 2020 16:13:17 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) (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 9AEBC399F for ; Wed, 13 May 2020 16:13:17 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qt1-f179.google.com with SMTP id o19so234944qtr.10 for ; Wed, 13 May 2020 09:13:17 -0700 (PDT) X-Gm-Message-State: AGi0PuZ1yLmRPZNgBxGhNn8B4yubhI5MGw5bDZtZVoq/+V+s4EswkTbx SD2TrXmVBjJi/8Xs7R7M5LZhVVtG7VTL8YUW9Eo= X-Google-Smtp-Source: APiQypIwXlR0HV0JJW7mDTuVhrHB3rjbagR0yh/tonaYnGw2aEsNjCXP4c9S1NRXXwObiD86B7oosKt96+n0+3qbWwk= X-Received: by 2002:ac8:5353:: with SMTP id d19mr20185019qto.310.1589386397151; Wed, 13 May 2020 09:13:17 -0700 (PDT) MIME-Version: 1.0 References: <863683sudq.fsf@elm.localnet> In-Reply-To: <863683sudq.fsf@elm.localnet> From: Kyle Evans Date: Wed, 13 May 2020 11:13:03 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Viewing loader tunables in console To: Carl Johnson Cc: FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2020 16:13:17 -0000 On Wed, May 13, 2020 at 10:54 AM Carl Johnson wrote: > > Ekalavya writes: > > > I know that sysctl tunables are viewable using the sysctl command, but > > I am having trouble viewing loader tunables like > > kern.vt.fb.default_mode. I need to know this before I start setting > > values for them in my loader.conf file. How do I do this? > > I think that the kenv(1) command will list them. I am not an expert, so > anybody please correct me if this is wrong. They will be in the kenv, but typically only if you've actually set them in loader.conf. We don't (generally, there's probably counter-examples) export those using default values to the kenv. Thanks, Kyle Evans