Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jun 2020 23:29:52 -0600
From:      "@lbutlr" <kremels@kreme.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Find out OS version and plattform?
Message-ID:  <28A34A1E-EB9B-4EE6-8FB3-E8E1D80DA108@kreme.com>
In-Reply-To: <77a4e519-deda-9113-e0d8-b7ae0a8d1f13@FreeBSD.org>
References:  <16b61b7a-a313-883a-067a-b424b488b2de@nebelschwaden.de> <cb90b4ed-1a1a-6a1f-a2f4-da19795ccdca@FreeBSD.org> <20200613091714.aa727af47134d742d6136118@sohara.org> <77a4e519-deda-9113-e0d8-b7ae0a8d1f13@FreeBSD.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 13 Jun 2020, at 02:27, Matthew Seaman <matthew@FreeBSD.org> wrote:
> On 13/06/2020 09:17, Steve O'Hara-Smith wrote:
>> On Sat, 13 Jun 2020 09:00:00 +0100
>> Matthew Seaman <matthew@FreeBSD.org> 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."





Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?28A34A1E-EB9B-4EE6-8FB3-E8E1D80DA108>