osinfo-db-path (1) Linux Manual Page
osinfo-db-path – Report database locations
Synopsis
osinfo-db-path [OPTIONS…]Description
The osinfo-db-path tool will report the paths associated with the standard osinfo database locations:- system
- This is the primary system-wide database location, intended for use by operating system vendors distributing database files in the native package format.
- local
- This is the secondary system-wide database location, intended for use by system administrators wishing to provide an updated database for all users.
- 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.
If run by a privileged account (ie root), the local database location will be reported by default, otherwise the user location will be reported.
Options
- –user
- Override the default behaviour to force reporting of the user database location.
- –local
- Override the default behaviour to force reporting of the local database location.
- –system
- Override the default behaviour to force reporting of the system database location.
- –dir=PATH
- Override the default behaviour to force reporting of the custom directory PATH.
- –root=PATH
- 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.
