From owner-freebsd-questions@freebsd.org Sat Jun 13 13:02:54 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 38BC13378AA for ; Sat, 13 Jun 2020 13:02:54 +0000 (UTC) (envelope-from lysfjord.daniel@smokepit.net) Received: from smtp-out.smokepit.net (smtp-out.smokepit.net [18.200.56.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49kd712WCWz433J for ; Sat, 13 Jun 2020 13:02:52 +0000 (UTC) (envelope-from lysfjord.daniel@smokepit.net) Received: from cm-84.215.44.163.getinternet.no ([84.215.44.163] helo=smokepit.net) by smtp-out.smokepit.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jk5o4-0005a8-Qq for freebsd-questions@freebsd.org; Sat, 13 Jun 2020 13:02:44 +0000 Received: from yggdrasil.lan.smokepit.net ([10.0.0.200]) by smokepit.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94 (FreeBSD)) (envelope-from ) id 1jk5o3-000Kq2-OL for freebsd-questions@freebsd.org; Sat, 13 Jun 2020 15:02:44 +0200 Subject: Re: Find out OS version and plattform? To: freebsd-questions@freebsd.org References: <16b61b7a-a313-883a-067a-b424b488b2de@nebelschwaden.de> <20200613091714.aa727af47134d742d6136118@sohara.org> <77a4e519-deda-9113-e0d8-b7ae0a8d1f13@FreeBSD.org> From: Daniel Lysfjord Message-ID: Date: Sat, 13 Jun 2020 15:02:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <77a4e519-deda-9113-e0d8-b7ae0a8d1f13@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Report: Action: no action Symbol: ARC_NA(0.00) Symbol: RCVD_VIA_SMTP_AUTH(0.00) Symbol: BAYES_HAM(-2.17) Symbol: FROM_HAS_DN(0.00) Symbol: TO_MATCH_ENVRCPT_ALL(0.00) Symbol: MIME_GOOD(-0.10) Symbol: TO_DN_NONE(0.00) Symbol: RCPT_COUNT_ONE(0.00) Symbol: RCVD_COUNT_ONE(0.00) Symbol: FROM_EQ_ENVFROM(0.00) Symbol: MIME_TRACE(0.00) Symbol: SUBJECT_ENDS_QUESTION(1.00) Symbol: RCVD_TLS_ALL(0.00) Symbol: MID_RHS_MATCH_FROM(0.00) Message-ID: eba63afb-7b4b-11ca-c211-91cfb3576231@smokepit.net X-Rspamd-Queue-Id: 49kd712WCWz433J X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.52 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[smokepit.net:s=loke]; NEURAL_HAM_MEDIUM(-0.95)[-0.952]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:18.200.56.156]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.005]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[smokepit.net:+]; DMARC_POLICY_ALLOW(-0.50)[smokepit.net,reject]; NEURAL_HAM_SHORT(-0.56)[-0.560]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:16509, ipnet:18.200.0.0/16, country:US]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[84.215.44.163:received] 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: Sat, 13 Jun 2020 13:02:54 -0000 On 13.06.2020 10: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. > > https://svnweb.freebsd.org/base/head/libexec/rc/rc.d/os-release?view=log > > Cheers, > > Matthew > It's not there on my 12.1-RELEASE-p6 box either