osinfo-db-validate (1) - Linux Man Pages
osinfo-db-validate: Validate libosinfo XML data files
osinfo-db-validate - Validate libosinfo XML data files
osinfo-db-validate [OPTIONS...] LOCAL-PATH1 [LOCAL-PATH2...]
DESCRIPTIONThe osinfo-db-validate tool is able to validate XML files in one of the osinfo database locations for compliance with the RNG schema.
- This is the primary system-wide database location, intended for use by operating system vendors distributing database files in the native package format. The RNG schema is expected to be present in this location.
- This is the secondary system-wide database location, intended for use by system administrators wishing to provide an updated database for all users. This location may provide an RNG schema override, otherwise the RNG schema from the system location will be used.
- This is the user private database location, intended for use by unprivileged local users wishing to provide applications they use with an updated database. This location may provide an RNG schema override, otherwise the RNG schema from the local location will be used, or failing that the system location.
If run by a privileged account (ie root), the local database location will be validate by default, otherwise the user location will be validated.
Alternatively it is possible to directly provide a list of files to be validated using the ("LOCAL-PATH1" or "URI1") arguments.
- Override the default behaviour to force validating files from the user database location.
- Override the default behaviour to force validating files from the local database location.
- Override the default behaviour to force validating files from the system database location.
- Override the default behaviour to force validating files from the custom directory PATH.
- Prefix the database location with the root directory given by "PATH". This is useful when wishing to validate files that are in a chroot environment or equivalent.
- -v, --verbose
- Display verbose progress information when validating files
EXIT STATUSThe exit status will be 0 if all files passed validation, or 1 if a validation error was hit.
AUTHORSDaniel P. Berrange <berrange [at] redhat.com>
COPYRIGHTCopyright (C) 2012-2016 Red Hat, Inc.
LICENSE"osinfo-db-validate" 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