osinfo-db-path - Report database locations
The osinfo-db-path tool will report the paths associated with the
standard osinfo database locations:
- This is the primary system-wide database location, intended for use by
operating system vendors distributing database files in the native package
- This is the secondary system-wide database location, intended for use by
system administrators wishing to provide an updated database for all
- This is the user private database location, intended for use by
unprivileged local users wishing to provide applications they use with an
If run by a privileged account (ie root), the local
database location will be reported by default, otherwise the user
location will be reported.
The exit status will be 0 if the requested path was reported, or 1 if the
arguments were invalid.
Daniel P. Berrange <firstname.lastname@example.org>
Copyright (C) 2016 Red Hat, Inc.
"osinfo-db-import" 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
- Override the default behaviour to force reporting of the user
- Override the default behaviour to force reporting of the local
- Override the default behaviour to force reporting of the system
- Override the default behaviour to force reporting of the custom directory
- Prefix the database location with the root directory given by
"PATH". This is useful when wishing to
report paths relative to a chroot environment or equivalent.