Write a command that allows the user to map from pool uuid or name to object path
mulkieran opened this issue · 1 comments
mulkieran commented
This is mainly useful for times when wanting to use busctl commands, I think. It is more of a debugging command than a normal user command. The exact same principal would apply for filesystems or for blockdevs.
What should the command look like?
> stratis pool debug get-object-path --name=pn
> stratis pool debug get-object-path --uuid=<UUID> (any format)
and the same for filesystem, etc. ?
The inverse lookup is also possible:
> stratis pool debug get-pool-name <object-path>
> stratis pool debug get-pool-uuid <object-path>