diff options
author | Ramkumar Ramachandra <artagnon@gmail.com> | 2013-07-16 13:14:40 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-07-16 14:27:53 +0200 |
commit | 7080ea16b5a0bfd71bfcdffc998e91f5273d47f9 (patch) | |
tree | 33c7f57db6479096bd0971308422ef902a526c92 /man | |
parent | Update TODO (diff) | |
download | systemd-7080ea16b5a0bfd71bfcdffc998e91f5273d47f9.tar.xz systemd-7080ea16b5a0bfd71bfcdffc998e91f5273d47f9.zip |
detect-virt: detect User-Mode Linux
In a User-Mode Linux session:
$ systemd-detect-virt
none
Although it is possible to reliably detect virtualization:
$ cat /proc/cpuinfo
processor : 0
vendor_id : User Mode Linux
model name : UML
mode : skas
host : Linux kytes 3.11.0-rc1-00009-ge5fd680 (...)
bogomips : 7007.43
So, grep for the string "\nvendor_id\t: User Mode Linux\n" in
/proc/cpuinfo, and say "uml" when asked.
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd-detect-virt.xml | 1 | ||||
-rw-r--r-- | man/systemd.unit.xml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/man/systemd-detect-virt.xml b/man/systemd-detect-virt.xml index 762b6ab992..f21493df64 100644 --- a/man/systemd-detect-virt.xml +++ b/man/systemd-detect-virt.xml @@ -70,6 +70,7 @@ <varname>microsoft</varname>, <varname>oracle</varname>, <varname>xen</varname>, <varname>bochs</varname>, <varname>chroot</varname>, + <varname>uml</varname>, <varname>openvz</varname>, <varname>lxc</varname>, <varname>lxc-libvirt</varname>, <varname>systemd-nspawn</varname>.</para> diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index a14e452fa3..f45632a0e3 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -969,6 +969,7 @@ <varname>xen</varname>, <varname>bochs</varname>, <varname>chroot</varname>, + <varname>uml</varname>, <varname>openvz</varname>, <varname>lxc</varname>, <varname>lxc-libvirt</varname>, |