osinfo-detect (1) Linux Manual Page
osinfo-detect – Detect the operating system on installable media or trees
Synopsis
osinfo-detect [OPTIONS…] PATH|URIDescription
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; to obtain machine readable output, the option "–format=env" should be given to produce shell-like key/value pairs.
Options
- –format=plain|env
- Switch between human readable output (plain, the default) or machine readable output (env).
- –type=media|tree
- Switch between looking for CD/DVD ISO media (media, the default) or install trees (tree)
