summaryrefslogtreecommitdiff
path: root/man/systemd-detect-virt.xml
Commit message (Collapse)AuthorAgeFilesLines
* detect-virt: add --private-users switch to check if a userns is activeZbigniew Jędrzejewski-Szmek2016-10-261-2/+14
| | | | | | | | | | | | | Various things don't work when we're running in a user namespace, but it's pretty hard to reliably detect if that is true. A function is added which looks at /proc/self/uid_map and returns false if the default "0 0 UINT32_MAX" is found, and true if it finds anything else. This misses the case where an 1:1 mapping with the full range was used, but I don't know how to distinguish this case. 'systemd-detect-virt --private-users' is very similar to 'systemd-detect-virt --chroot', but we check for a user namespace instead.
* virt: detect bhyve (FreeBSD hypervisor) (#3840)Leonardo Brondani Schenkel2016-08-011-1/+6
| | | | The CPUID and DMI vendor strings do not seem to be documented. Values were found experimentally and by inspecting the source code.
* man: top-align cell text for large tablesJan Engelhardt2016-01-281-2/+2
|
* man: avoid double virtualizationJan Engelhardt2016-01-281-5/+4
| | | | | "VM virtualization" <=> "virtual machine virtualization", and double virtualization is just incorrect in this context.
* man: normalize indentation in sd-detect-virt(1)Zbigniew Jędrzejewski-Szmek2015-11-101-38/+38
|
* Merge pull request #1799 from jengelh/docLennart Poettering2015-11-091-2/+2
|\ | | | | doc: typo and ortho fixes
| * doc: correct punctuation and improve typography in documentationJan Engelhardt2015-11-061-2/+2
| |
* | detect-virt: add rkt app container runtimeIago López Galeiras2015-11-091-0/+5
|/
* detect-virt: add new --chroot switch to detect chroot() environmentsLennart Poettering2015-10-271-2/+15
|
* virt: detect parallels virtualizationEvgeny Vereshchagin2015-09-021-1/+6
| | | | | | | | inspired by http://people.redhat.com/~rjones/virt-what/ see: * http://git.annexia.org/?p=virt-what.git;a=blob;f=virt-what.in;h=a5ed33ef3e4bfa3281c9589eccac4d92dff1babe;hb=HEAD#l200 * http://git.annexia.org/?p=virt-what.git;a=blob;f=virt-what.in;h=a5ed33ef3e4bfa3281c9589eccac4d92dff1babe;hb=HEAD#l253
* man: revert dynamic paths for split-usr setupsTom Gundersen2015-06-181-4/+1
| | | | | | | | | | | | | | | | | | | | | | | This did not really work out as we had hoped. Trying to do this upstream introduced several problems that probably makes it better suited as a downstream patch after all. At any rate, it is not releaseable in the current state, so we at least need to revert this before the release. * by adjusting the path to binaries, but not do the same thing to the search path we end up with inconsistent man-pages. Adjusting the search path too would be quite messy, and it is not at all obvious that this is worth the effort, but at any rate it would have to be done before we could ship this. * this means that distributed man-pages does not make sense as they depend on config options, and for better or worse we are still distributing man pages, so that is something that definitely needs sorting out before we could ship with this patch. * we have long held that split-usr is only minimally supported in order to boot, and something we hope will eventually go away. So before we start adding even more magic/effort in order to make this work nicely, we should probably question if it makes sense at all.
* man: generate configured paths in manpagesFilipe Brandenburger2015-05-281-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, use /lib/systemd instead of /usr/lib/systemd in distributions like Debian which still have not adopted a /usr merge setup. Use XML entities from man/custom-entities.ent to replace configured paths while doing XSLT processing of the original XML files. There was precedent of some files (such as systemd.generator.xml) which were already using this approach. This addresses most of the (manual) fixes from this patch: http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/patches/Fix-paths-in-man-pages.patch?h=experimental-220 The idea of using generic XML entities was presented here: http://lists.freedesktop.org/archives/systemd-devel/2015-May/032240.html This patch solves almost all the issues, with the exception of: - Path to /bin/mount and /bin/umount. - Generic statements about preference of /lib over /etc. These will be handled separately by follow up patches. Tested: - With default configure settings, ran "make install" to two separate directories and compared the output to confirm they matched exactly. - Used a set of configure flags including $CONFFLAGS from Debian: http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/rules Installed the tree and confirmed the paths use /lib/systemd instead of /usr/lib/systemd and that no other unexpected differences exist. - Confirmed that `make distcheck` still passes.
* Reindent man pages to 2chZbigniew Jędrzejewski-Szmek2015-02-031-206/+198
|
* man: join tables in systemd-detect-virt(1)Zbigniew Jędrzejewski-Szmek2014-10-121-20/+17
| | | | | | | | | I think it is more readable and nicer if everything is in one table. Also, describe what the return value, since it seems awkward to describe the change in behaviour with --quiet before describing what the default is.
* man: include zVM in systemd-detect-virt listLennart Poettering2014-10-101-3/+9
|
* man: rework VM/container identifier list into a table, and include ↵Lennart Poettering2014-10-101-12/+98
| | | | | | descriptions for all entries (also remove chroot from the list, we don't detect that anymore)
* man: clarify what "microsoft" and "oracle" stand forRahul Sundaram2014-10-091-4/+5
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=1150477
* man: mention docker as type of virtualizationZbigniew Jędrzejewski-Szmek2014-10-071-1/+2
|
* man: xinclude --help/--version/--no-pagerZbigniew Jędrzejewski-Szmek2014-02-201-16/+4
|
* man: wording and grammar updatesJan Engelhardt2013-09-121-3/+3
| | | | | | | | | | | | This is a recurring submission and includes corrections to various issue spotted. I guess I can just skip over reporting ubiquitous comma placement fixes… Highligts in this particular commit: - the "unsigned" type qualifier is completed to form a full type "unsigned int" - alphabetic -> lexicographic (that way we automatically define how numbers get sorted)
* detect-virt: detect User-Mode LinuxRamkumar Ramachandra2013-07-161-0/+1
| | | | | | | | | | | | | | | | | | | | 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.
* man: typo fixesThomas Hindoe Paaboel Andersen2012-10-261-1/+1
| | | | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=55890 Fixed typos, serial comma, and removed "either" as there were more than two options. Also did an extra rename of "system-shutdown" to "systemd-shutdown" that was forgotten in commit 8bd3b8620c80d0f2383f2fb04315411fc8077ca1
* detect-virt: make detect-virt an official commandLennart Poettering2012-04-121-0/+151