Find out OS version and plattform?

@lbutlr kremels at kreme.com
Sun Jun 14 05:29:56 UTC 2020


On 13 Jun 2020, at 02:27, Matthew Seaman <matthew at 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 at 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.
> 
> https://svnweb.freebsd.org/base/head/libexec/rc/rc.d/os-release?view=log

But this file (neither file) exists in 12.1-RELEASE, so I would say it is at best an upcoming feature.




-- 
"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."




More information about the freebsd-questions mailing list