From owner-freebsd-questions@freebsd.org Sat Jun 13 08:26: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 C317432F66D for ; Sat, 13 Jun 2020 08:26:54 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (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 49kW0Z1pj8z3VgT; Sat, 13 Jun 2020 08:26:54 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 59391341; Sat, 13 Jun 2020 04:20:12 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 13 Jun 2020 04:20:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yuripv.dev; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=K +4jeOr2F1K9wH0gEb8u/oI91qT6Gbxqpa1Yjec63ZY=; b=JJSMnpmKotpIcoqyM hoFxF0+IgLba8VDwSYRDxzRwxKrrThjFisFKTf9bnmwGdIoIMoObU1jkAN4KioXD IJYTLVQA9pVBw1s9BjkE8ofd/Yql09vl36/+stODM/hCadv6CDbK/OZNxi5oaF0D 6f1LHaYRUoYzdp3aKkhxDaolkeaPIeQ/Se+DIbAW7dxQfNsXrki1FFA/4Oeo8/hG LyDwbgalYqsFW13Mor90Px8uFUw0JN0ZYpQ8ZtYOvFxzjoHKztVP9nk2iC6/1JuC OWrrAH/OTsJNa0wLi3ygSGSKWVz+/9Ub1NmId75qm/3HTaPg0HP1AGsKy07lNhPN RljGA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=K+4jeOr2F1K9wH0gEb8u/oI91qT6Gbxqpa1Yjec63 ZY=; b=LP1oZfyQ8gkIuI/8PyoQ2DMXATDgyHhlf6fO6fwFnW0zwjCQVo+IWa0N7 qd+J/Z5nbXmL3j37zkXJ5Im3iTV88EbdiB9rzO4xe6x3reDA9Omg1Y91OjVYdOYT LzLQWF3mgpkoANV5F1I7tzvrMqXTwjm7/H/gWT5UhQFuFxgB/cff5uaV6urRwGgQ x6LA8K2xAYjIGXVqsr4NBKhY4bIAhXbG0MAsP1KS9iG+urxKZ6B0Yt9TlxQTYFLG zCMt0arhGI+T2mkC0cv4prgaKT1dLWdx4qOPliCp08RRTsm1DwS/bczk4C1piTfB 7dUbzRHRdMd8q1q0AOwzdUj4RIUdA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudeifedgtdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomhepjghurhhi ucfrrghnkhhovhcuoeihuhhrihhpvheshihurhhiphhvrdguvghvqeenucggtffrrghtth gvrhhnpeffhedvkeegieejveelvdffgfevueevgffgjefhleeuueevtedvvddvgfeiteff teenucfkphepledurddvgedtrdduvdegrddufeejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhephihurhhiphhvseihuhhrihhpvhdruggvvh X-ME-Proxy: Received: from [192.168.1.6] (unknown [91.240.124.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 0E1453280065; Sat, 13 Jun 2020 04:20:10 -0400 (EDT) Subject: Re: Find out OS version and plattform? To: Steve O'Hara-Smith , Matthew Seaman Cc: freebsd-questions@freebsd.org References: <16b61b7a-a313-883a-067a-b424b488b2de@nebelschwaden.de> <20200613091714.aa727af47134d742d6136118@sohara.org> From: Yuri Pankov Message-ID: <800241a1-ce3a-ce19-63f8-e9a77032a7f1@yuripv.dev> Date: Sat, 13 Jun 2020 11:20:09 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200613091714.aa727af47134d742d6136118@sohara.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49kW0Z1pj8z3VgT X-Spamd-Bar: +++++++++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yuripv.dev header.s=fm1 header.b=JJSMnpmK; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=LP1oZfyQ; dmarc=none; spf=pass (mx1.freebsd.org: domain of yuripv@yuripv.dev designates 64.147.123.20 as permitted sender) smtp.mailfrom=yuripv@yuripv.dev X-Spamd-Result: default: False [13.23 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:64.147.123.20:c]; SEM_URIBL_FRESH15(3.00)[yuripv.dev:dkim]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[yuripv.dev:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-0.00)[-0.002]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.20:from]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[91.240.124.137:received]; R_DKIM_ALLOW(0.00)[yuripv.dev:s=fm1,messagingengine.com:s=fm3]; RECEIVED_SPAMHAUS_CSS(4.00)[91.240.124.137:received]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-0.61)[-0.607]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[yuripv.dev]; NEURAL_SPAM_MEDIUM(0.94)[0.936]; BAD_REP_POLICIES(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[64.147.123.20:from]; GREYLIST(0.00)[pass,body] X-Spam: Yes 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 08:26:54 -0000 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. It seems to be only in stable/12 and head at the moment, and it's /var/run/os-release by default.