On Sun, 12 Feb 2012, Thorsten Glaser wrote:

> The idea of this exercise is to detect an emulator _without_ special 
> setup?

I found a post [1] by Dave O'Neill which has some ideas, like checking 
/proc/ide/hd*/model (though grep -q X /sys/class/block/*/device/model 
would probably work better, assuming that there exists an appropriate X).

Finn

[1] http://www.dmo.ca/blog/detecting-virtualization-on-linux/


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Reply via email to