From owner-freebsd-questions@freebsd.org Sun Jun 14 05:29:56 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 7186332F217 for ; Sun, 14 Jun 2020 05:29:56 +0000 (UTC) (envelope-from kremels@kreme.com) Received: from mail.covisp.net (mail.covisp.net [65.121.55.42]) (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 49l31v2rmcz3gZP for ; Sun, 14 Jun 2020 05:29:54 +0000 (UTC) (envelope-from kremels@kreme.com) From: "@lbutlr" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Re: Find out OS version and plattform? Date: Sat, 13 Jun 2020 23:29:52 -0600 References: <16b61b7a-a313-883a-067a-b424b488b2de@nebelschwaden.de> <20200613091714.aa727af47134d742d6136118@sohara.org> <77a4e519-deda-9113-e0d8-b7ae0a8d1f13@FreeBSD.org> To: FreeBSD In-Reply-To: <77a4e519-deda-9113-e0d8-b7ae0a8d1f13@FreeBSD.org> Message-Id: <28A34A1E-EB9B-4EE6-8FB3-E8E1D80DA108@kreme.com> X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49l31v2rmcz3gZP X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kremels@kreme.com designates 65.121.55.42 as permitted sender) smtp.mailfrom=kremels@kreme.com X-Spamd-Result: default: False [2.38 / 15.00]; MISSING_MIME_VERSION(2.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.28)[-0.276]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:65.112.0.0/12, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[65.121.55.42:from]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.02)[-0.019]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[kreme.com]; NEURAL_SPAM_MEDIUM(0.08)[0.075]; RCPT_COUNT_ONE(0.00)[1] 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: Sun, 14 Jun 2020 05:29:56 -0000 On 13 Jun 2020, at 02:27, Matthew Seaman wrote: > On 13/06/2020 09:17, Steve O'Hara-Smith wrote: >> On Sat, 13 Jun 2020 09:00:00 +0100 >> Matthew Seaman wrote: >> On 12/06/2020 10:03, Ede Wolf wrote: >>>> linux has something like /etc/os-release, which is a textfile, is = there >>>> an equivalent [method] in FreeBSD? >>> Yes. It's exactly the same. >> Since when ? There isn't one on my 12.1p3 box. > Yeah. It's been a thing for about 6 months. >=20 > = https://svnweb.freebsd.org/base/head/libexec/rc/rc.d/os-release?view=3Dlog= But this file (neither file) exists in 12.1-RELEASE, so I would say it = is at best an upcoming feature. --=20 "Sir, you will either die on the gallows or of some unspeakable disease." "That depends, Sir," said Disraeli, "whether I embrace your policies or your mistress."