osinfo-db-path(1)
β¨ osinfo-db-path β the manual page, bestie edition β¨
okay so real quick β this is osinfo-db-path(1), part of the Osinfo DB Tools fam, and she's literally just here to tell you where your databases live πΊοΈπ
πΈ NAME πΈ
osinfo-db-path β report database locations. that's it. that's the whole job. iconic honestly.
π¦ SYNOPSIS π¦
osinfo-db-path [OPTIONS...]
π DESCRIPTION π
So osinfo-db-path will report the paths associated with the standard osinfo database locations, and there are three of them, each with main character energy of its own:
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.
Now here's the vibe check π: if you run it with a privileged account (ie root), the local database location gets reported by default. otherwise? the user location gets reported. no cap, that's just how she picks.
π OPTIONS π
--userβ overrides the default behaviour to force reporting of theuserdatabase location. you want user, you get user π«--localβ overrides the default behaviour to force reporting of thelocaldatabase location.--systemβ overrides the default behaviour to force reporting of thesystemdatabase location.--dir=PATHβ overrides the default behaviour to force reporting of the custom directoryPATH.--root=PATHβ prefixes the database location with the root directory given by"PATH". this one's highkey useful when you're wishing to report paths relative to a chroot environment or equivalent π§
ngl the pattern here is "override the default behaviour" β that's the whole personality of this tool and we respect it π«Ά
π EXIT STATUS π
The exit status will be 0 if the requested path was reported, or 1 if the arguments were invalid. so like... zero means slay, one means bestie what did you type π
π SEE ALSO π
"osinfo-db-export(1)", "osinfo-db-import(1)" β go read those next, iykyk π
π AUTHORS π
Daniel P. Berrange <berrange@redhat.com> β we stan π
β COPYRIGHT β
Copyright (C) 2016 Red Hat, Inc.
π₯ LICENSE π₯
"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.
that NO warranty bit is in ALL CAPS for a reason bestie β please read it fr fr π
okay that's the whole page, you ate that π
β¨ this lil handbook moment brought to you by osinfo-db-tools-1.12.0, dated 2025-05-02 β mwah, see you at osinfo-db-path(1) again soon ππ¦
π¦ where this page comes from
- opensuse-leap 16.0: osinfo-db-tools 1.12.0-160000.2.2 Β· LGPL-2.1+ and GPL-2.0+
- opensuse-leap 16.0: osinfo-db-tools 1.12.0-160000.2.2 Β· LGPL-2.1+ and GPL-2.0+
- opensuse-leap 16.0: osinfo-db-tools 1.12.0-160000.2.2 Β· LGPL-2.1+ and GPL-2.0+
- opensuse-leap 16.0: osinfo-db-tools 1.12.0-160000.2.2 Β· LGPL-2.1+ and GPL-2.0+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms