From nobody Tue Jun 08 23:13:45 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3829D7EF35A for ; Tue, 8 Jun 2021 23:13:50 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound4s.ore.mailhop.org (outbound4s.ore.mailhop.org [54.185.97.28]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4G05dn6j4Nz3Qts for ; Tue, 8 Jun 2021 23:13:49 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1623194028; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=ZP73Ih0ckXcDTm4Plqv1MM/CT1oOtRaGS6p38pcEQfFpGDe2qB42miB7SijyRfYn7VG1OPSXd3+lw QMC9O6velZC3zfEMiosfvjgFV98kwhY7mobREvbT/lTb2bdtgfytSMtkphOc16KCBI32GVWJcAsR5r xzEcG5GY78qFJH6PD5myAsmtnYVh5Tw0ETnWTrVQkYDE5XQRgUZBqL+X8itPw1bY5X7yQH10j+CUQ9 h9Mv65m0WhnLAghOr6pLZVYzC3fj/1khuKqQ/AnnCOOYmcjTnVJou9zzhSs6eZ+mBb1qCVNvMMgfx/ 87/7Q6pBqXqsyr014t6bNT7kuELR6Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=rofm7JVQJhwQ/dI2EECaRzuXBdD9W3mL56ojO2p8GbY=; b=PyaREm2u9M5ZnN+z6kukAxQCPKA5/YcLurg/V3be8n4LJ9ebfThrgosg/Eu/i62Iq7gkwrx7yTcBX PyLuaHjnJ3CWcMyDks5RdvkCVyWMWSiFrJqMc6EDITIhHQLhwPCE7qcLhHUoxUkcsnJuHF6iETPRBG i7VL2k47MEmNW8PYuOJhipZQyVsq4q6p0w39kgTnmoVpDKpPcnSWMTIxkqkM4Hhhjtdg57kTivQSG7 tcY/hqLMtlcQ0McaIyMhvsTX33qKizuiwZUIDHAL+zyu6jhfKW5QfPcSR/lmEXuwqw1CNLMV2f6Ab7 gLmp6ogrDG+ELllTRoyd3uCC0ONmC3A== ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=rofm7JVQJhwQ/dI2EECaRzuXBdD9W3mL56ojO2p8GbY=; b=Lk5bcX5U8SIfWDbXEvHOkATaaqvsIj/mLL+7erpeeAvdCgvVn+3qrrHC9M6w5jh/45FlZN88U/B/N Il2tqABHG5misI3HERXIyeCwkW8XOXPB7PfQbyp/3mzBeNe+W+13uB7UXDb6ugD/Fgf0GbeXSyY6/1 TEmRbK9cvmd5tiyh30SsfsnOZPSOVenhcbbSFQ3X2ZcFPvIQC8eK98pdEbtcei+A/znHaTJmd2ER5e 4KWN73UxNODpqH7to5d8f6x9DbcYaCZ3YTnWKqqyFlRzZxChf2V5UJh5jfW4Ung0cpXjWcQOJ8o6/6 UEuH/l+LNTbygr1itV4LCy8fC3lprgw== X-Originating-IP: 67.177.211.60 X-MHO-RoutePath: aGlwcGll X-MHO-User: 2ceef5da-c8af-11eb-a655-89389772cfc7 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (c-67-177-211-60.hsd1.co.comcast.net [67.177.211.60]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id 2ceef5da-c8af-11eb-a655-89389772cfc7; Tue, 08 Jun 2021 23:13:47 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id 158NDkmq058218; Tue, 8 Jun 2021 17:13:46 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: Subject: Re: Files in /etc containing empty VCSId header From: Ian Lepore To: "Rodney W. Grimes" Cc: "freebsd-current@freebsd.org" Date: Tue, 08 Jun 2021 17:13:45 -0600 In-Reply-To: <202106082211.158MBrbe010419@gndrsh.dnsmgr.net> References: <202106082211.158MBrbe010419@gndrsh.dnsmgr.net> Content-Type: text/plain; charset="ASCII" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4G05dn6j4Nz3Qts X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Tue, 2021-06-08 at 15:11 -0700, Rodney W. Grimes wrote: > > On Tue, 8 Jun 2021 09:41:34 +0000 > > Mark Linimon wrote: > > > > > On Mon, Jun 07, 2021 at 01:58:01PM -0600, Ian Lepore wrote: > > > > Sometimes it's a real interesting exercise to figure out where > > > > a > > > > file on your runtime system comes from in the source world. > > There is a command for that which does or use to do a pretty > decent job of it called whereis(1). > revolution > whereis ntp.conf ntp.conf: revolution > whereis netif netif: revolution > whereis services services: So how does that help me locate the origin of these files in the source tree? -- Ian > > > > > > A tangential problem I trip over is "what is on this SD card?" > > > > > > It generally takes me 5-10 minutes to remember: > > > > > > strings //boot/kernel/kernel | tail > > > > > > AFIAK it's the only way to be sure; nothing in //* seems > > > to have that data. > > > > > > (Yes, in theory they all live in their own little box each of > > > which is labeled but things happen ...) > > > > > > > I use locate for this kind of search, e.g. > > > > locate netoptions > > /etc/rc.d/netoptions > > /usr/src/libexec/rc/rc.d/netoptions > > > > -- > > Gary Jennejohn > > > > > >