Kai Schaetzl wrote:
Tony Mountifield wrote on Thu, 24 Jul 2008 11:47:04 +0000 (UTC):
Does anyone know how a program, script or shell user can best determine
whether the machine is running on bare metal or is a VMware guest?
AFAIK, VMWare uses vmnet32 drivers for ethernet and possibly others for
other devices as well.
indeed.
# modinfo vmxnet
filename: /lib/modules/2.6.18-5-486/misc/vmxnet.ko
author: VMware, Inc.
description: VMware Virtual Ethernet driver.
...
# dmesg |grep -i vmware
hdc: VMware Virtual IDE CDROM Drive, ATAPI CD/DVD-ROM drive
Vendor: VMware, Model: VMware Virtual S Rev: 1.0
VMware hgfs: HGFS is disabled in the host
VMware hgfs: HGFS is disabled in the host
VMware memory control driver initialized
VMware vmxnet virtual NIC driver
...
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos