.\" -*- 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-db-path 1" .TH osinfo-db-path 1 2024-03-10 osinfo-db-tools-1.11.0 "Osinfo DB Tools" .\" 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\-db\-path \- Report database locations .SH SYNOPSIS .IX Header "SYNOPSIS" osinfo-db-path [OPTIONS...] .SH DESCRIPTION .IX Header "DESCRIPTION" The \fBosinfo-db-path\fR tool will report the paths associated with the standard osinfo database locations: .IP \fBsystem\fR 1 .IX Item "system" This is the primary system-wide database location, intended for use by operating system vendors distributing database files in the native package format. .IP \fBlocal\fR 1 .IX Item "local" This is the secondary system-wide database location, intended for use by system administrators wishing to provide an updated database for all users. .IP \fBuser\fR 1 .IX Item "user" This is the user private database location, intended for use by unprivileged local users wishing to provide applications they use with an updated database. .PP If run by a privileged account (ie root), the \fBlocal\fR database location will be reported by default, otherwise the \fBuser\fR location will be reported. .SH OPTIONS .IX Header "OPTIONS" .IP \fB\-\-user\fR 8 .IX Item "--user" Override the default behaviour to force reporting of the \&\fBuser\fR database location. .IP \fB\-\-local\fR 8 .IX Item "--local" Override the default behaviour to force reporting of the \&\fBlocal\fR database location. .IP \fB\-\-system\fR 8 .IX Item "--system" Override the default behaviour to force reporting of the \&\fBsystem\fR database location. .IP \fB\-\-dir=PATH\fR 8 .IX Item "--dir=PATH" Override the default behaviour to force reporting of the custom directory \fBPATH\fR. .IP \fB\-\-root=PATH\fR 8 .IX Item "--root=PATH" Prefix the database location with the root directory given by \f(CW\*(C`PATH\*(C'\fR. This is useful when wishing to report paths relative to a chroot environment or equivalent. .SH "EXIT STATUS" .IX Header "EXIT STATUS" The exit status will be 0 if the requested path was reported, or 1 if the arguments were invalid. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\f(CW\*(C`osinfo\-db\-export(1)\*(C'\fR, \f(CW\*(C`osinfo\-db\-import(1)\*(C'\fR .SH AUTHORS .IX Header "AUTHORS" Daniel P. Berrange .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2016 Red Hat, Inc. .SH LICENSE .IX Header "LICENSE" \&\f(CW\*(C`osinfo\-db\-import\*(C'\fR is distributed under the terms of 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