Best way to detect whether I'm in VPS ? [message #11580] |
Tue, 27 March 2007 17:56 |
Enrico Weigelt
Messages: 31 Registered: July 2006
|
Member |
|
|
Hi folks,
which is the best way for detecting whether I'm in an VPS while
n the boot process ?
One way could be checking for some special files in /proc
(ie. beancountes), but this requires /proc to be already mounted.
Is there another way (maybe w/o /proc) ?
thx
--
------------------------------------------------------------ ---------
Enrico Weigelt == metux IT service - http://www.metux.de/
------------------------------------------------------------ ---------
Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
------------------------------------------------------------ ---------
|
|
|
|