Re: Checking OpenBSD host type

2023-09-19 Thread Rudolf Leitgeb
See this response for the same command on my EdgeRouter: edgy# sysctl hw hw.machine=octeon hw.model=Cavium OCTEON (rev 0.2) @ 1000 MHz hw.ncpu=4 hw.byteorder=4321 hw.pagesize=16384 hw.disknames=sd0:3b7d06c5b561182c hw.diskcount=1

Re: Checking OpenBSD host type

2023-09-19 Thread Alessandro Baggi
Il 19/09/23 16:51, Denis Fondras ha scritto: Le Tue, Sep 19, 2023 at 03:13:21PM +0200, Alessandro Baggi a écrit : Hi list, there is a way to check if OpenBSD runs on VM or physical hardware? Something like in sysctl or similar. Thank you in advance. You may want to check the `hw`

Re: Checking OpenBSD host type

2023-09-19 Thread Denis Fondras
Le Tue, Sep 19, 2023 at 03:13:21PM +0200, Alessandro Baggi a écrit : > Hi list, > there is a way to check if OpenBSD runs on VM or physical hardware? > > Something like in sysctl or similar. > > Thank you in advance. > You may want to check the `hw` variable : $ sysctl hw [...]

Checking OpenBSD host type

2023-09-19 Thread Alessandro Baggi
Hi list, there is a way to check if OpenBSD runs on VM or physical hardware? Something like in sysctl or similar. Thank you in advance.