1OSINFO-DETECT.C(1) Virtualization Support OSINFO-DETECT.C(1)
2
3
4
6 osinfo-detect - Detect the operating system on installable media or
7 trees
8
10 osinfo-detect [OPTIONS...] PATH|URI
11
13 Examine the "PATH" or "URI" to determine what (if any) operating system
14 it is for, and whether it is installable or is a Live image. By
15 default "PATH" or "URI" will be interpreted as pointing to ISO media.
16 To request examination of an install tree instead, the option
17 "--type=tree" should be given.
18
19 The output information is formatted for humans; to obtain machine
20 readable output, the option "--format=env" should be given to produce
21 shell-like key/value pairs.
22
24 --format=plain|env
25 Switch between human readable output (plain, the default) or
26 machine readable output (env).
27
28 --type=media|tree
29 Switch between looking for CD/DVD ISO media (media, the
30 default) or install trees (tree)
31
33 The exit status will be 0 if an operating system was detected, or 1 if
34 none was found.
35
37 Zeeshan Ali (Khattak) <zeeshanak@gnome.org>, Daniel P. Berrange
38 <berrange@redhat.com>
39
41 Copyright (C) 2011-2012 Red Hat, Inc.
42
44 "osinfo-detect" is distributed under the termsof the GNU LGPL v2
45 license. This is free software; see the source for copying conditions.
46 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
47 PARTICULAR PURPOSE
48
49
50
51libosinfo-1.4.0 2019-02-26 OSINFO-DETECT.C(1)