osinfo-detect(1)

osinfo-detect1

Detect the operating system on installable media or trees

Usage

osinfo-detect {[OPTIONS ...] PATH | URI}

Overview

Examine the "PATH" or "URI" to determine what (if any) operating system it is for, and whether it is installable or is a Live image. By default "PATH" or "URI" will be interpreted as pointing to ISO media. To request examination of an install tree instead, the option --type=tree should be given.

The output information is formatted for humans;

Options

--format=plain
--type=media|tree

Switch between looking for CD/DVD ISO media (media, the default) or install trees (tree)

--all

Report all operating systems with matching media, instead of only the first match.

Exit status

The exit status will be 0 if an operating system was detected, or 1 if none was found.

Releases

6 releases since Debian 9 (Stretch); the text changed 5 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13
  6. Arch

--all since Debian 12 (Bookworm).

Authors

Zeeshan Ali (Khattak) <[email protected]>, Daniel P. Berrange <[email protected]>

License

"osinfo-detect" 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

From libosinfo 1.12.0-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.