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

NAME

6       osinfo-db-validate - Validate libosinfo XML data files
7

SYNOPSIS

9       osinfo-db-validate [OPTIONS...]
10
11       osinfo-db-validate [OPTIONS...] LOCAL-PATH1 [LOCAL-PATH2...]
12
13       osinfo-db-validate [OPTIONS...] URI1 [URI2...]
14

DESCRIPTION

16       The osinfo-db-validate tool is able to validate XML files in one of the
17       osinfo database locations for compliance with the RNG schema.
18
19       system
20        This is the primary system-wide database location, intended for use by
21        operating system vendors distributing database files in the native
22        package format. The RNG schema is expected to be present in this
23        location.
24
25       local
26        This is the secondary system-wide database location, intended for use
27        by system administrators wishing to provide an updated database for
28        all users. This location may provide an RNG schema override, otherwise
29        the RNG schema from the system location will be used.
30
31       user
32        This is the user private database location, intended for use by
33        unprivileged local users wishing to provide applications they use with
34        an updated database. This location may provide an RNG schema override,
35        otherwise the RNG schema from the local location will be used, or
36        failing that the system location.
37
38       If run by a privileged account (ie root), the local database location
39       will be validate by default, otherwise the user location will be
40       validated.
41
42       Alternatively it is possible to directly provide a list of files to be
43       validated using the ("LOCAL-PATH1" or "URI1") arguments.
44
45       Any validation errors will be displayed on the console when detected.
46

OPTIONS

48       --user  Override the default behaviour to force validating files from
49               the user database location.
50
51       --local Override the default behaviour to force validating files from
52               the local database location.
53
54       --system
55               Override the default behaviour to force validating files from
56               the system database location.
57
58       --dir=PATH
59               Override the default behaviour to force validating files from
60               the custom directory PATH.
61
62       --root=PATH
63               Prefix the database location with the root directory given by
64               "PATH". This is useful when wishing to validate files that are
65               in a chroot environment or equivalent.
66
67       -v, --verbose
68               Display verbose progress information when validating files
69

EXIT STATUS

71       The exit status will be 0 if all files passed validation, or 1 if a
72       validation error was hit.
73

SEE ALSO

75       "osinfo-db-path(1)"
76

AUTHORS

78       Daniel P. Berrange <berrange@redhat.com>
79
81       Copyright (C) 2012-2016 Red Hat, Inc.
82

LICENSE

84       "osinfo-db-validate" is distributed under the terms of the GNU LGPL v2+
85       license. This is free software; see the source for copying conditions.
86       There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
87       PARTICULAR PURPOSE
88
89
90
91osinfo-db-tools-1.10.0            2022-08-08             osinfo-db-validate(1)
Impressum