.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "osinfo-detect 1" .TH osinfo-detect 1 2024-03-10 libosinfo-1.11.0 Libosinfo .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME osinfo\-detect \- Detect the operating system on installable media or trees .SH SYNOPSIS .IX Header "SYNOPSIS" osinfo-detect [OPTIONS...] PATH|URI .SH DESCRIPTION .IX Header "DESCRIPTION" Examine the \f(CW\*(C`PATH\*(C'\fR or \f(CW\*(C`URI\*(C'\fR to determine what (if any) operating system it is for, and whether it is installable or is a Live image. By default \f(CW\*(C`PATH\*(C'\fR or \f(CW\*(C`URI\*(C'\fR will be interpreted as pointing to ISO media. To request examination of an install tree instead, the option \fB\-\-type=tree\fR should be given. .PP The output information is formatted for humans; .SH OPTIONS .IX Header "OPTIONS" .IP \fB\-\-format=plain\fR 8 .IX Item "--format=plain" .PD 0 .IP \fB\-\-type=media|tree\fR 8 .IX Item "--type=media|tree" .PD Switch between looking for CD/DVD ISO media (\fBmedia\fR, the default) or install trees (\fBtree\fR) .IP \fB\-\-all\fR 8 .IX Item "--all" Report all operating systems with matching media, instead of only the first match. .SH "EXIT STATUS" .IX Header "EXIT STATUS" The exit status will be 0 if an operating system was detected, or 1 if none was found. .SH AUTHORS .IX Header "AUTHORS" Zeeshan Ali (Khattak) , Daniel P. Berrange .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2011\-2012 Red Hat, Inc. .SH LICENSE .IX Header "LICENSE" \&\f(CW\*(C`osinfo\-detect\*(C'\fR is distributed under the termsof the GNU LGPL v2 license. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE