1osinfo-db-path(1)               Osinfo DB Tools              osinfo-db-path(1)
2
3
4

NAME

6       osinfo-db-path - Report database locations
7

SYNOPSIS

9       osinfo-db-path [OPTIONS...]
10

DESCRIPTION

12       The osinfo-db-path tool will report the paths associated with the
13       standard osinfo database locations:
14
15       system
16        This is the primary system-wide database location, intended for use by
17        operating system vendors distributing database files in the native
18        package format.
19
20       local
21        This is the secondary system-wide database location, intended for use
22        by system administrators wishing to provide an updated database for
23        all users.
24
25       user
26        This is the user private database location, intended for use by
27        unprivileged local users wishing to provide applications they use with
28        an updated database.
29
30       If run by a privileged account (ie root), the local database location
31       will be reported by default, otherwise the user location will be
32       reported.
33

OPTIONS

35       --user  Override the default behaviour to force reporting of the user
36               database location.
37
38       --local Override the default behaviour to force reporting of the local
39               database location.
40
41       --system
42               Override the default behaviour to force reporting of the system
43               database location.
44
45       --dir=PATH
46               Override the default behaviour to force reporting of the custom
47               directory PATH.
48
49       --root=PATH
50               Prefix the database location with the root directory given by
51               "PATH". This is useful when wishing to report paths relative to
52               a chroot environment or equivalent.
53

EXIT STATUS

55       The exit status will be 0 if the requested path was reported, or 1 if
56       the arguments were invalid.
57

SEE ALSO

59       "osinfo-db-export(1)", "osinfo-db-import(1)"
60

AUTHORS

62       Daniel P. Berrange <berrange@redhat.com>
63
65       Copyright (C) 2016 Red Hat, Inc.
66

LICENSE

68       "osinfo-db-import" is distributed under the terms of the GNU LGPL v2+
69       license. This is free software; see the source for copying conditions.
70       There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
71       PARTICULAR PURPOSE
72
73
74
75osinfo-db-tools-1.11.0            2023-10-27                 osinfo-db-path(1)
Impressum