qvm-volume list [--full] confusing behavior #8519
Labels
affects-4.1
This issue affects Qubes OS 4.1.
affects-4.2
This issue affects Qubes OS 4.2.
C: core
needs diagnosis
Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed.
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
T: bug
Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
ux
User experience
How to file a helpful issue
Qubes OS release
4.1.2
Brief summary
The behavior and documentation of
qvm-volume list
seem confusing when considering its--full
option.The documentation says this:
A comment in the
qvm_volume.py
script says:So, as far as I understand, there's something that can be referred to as internal devices, redundant/duplicate data and domain names. Seems confusing to me, even though I spent some time to dig deep in this script as part of PR #259, but maybe it's just me, so let's compare the aforementioned default behavior with its disabled counterpart both by using the
--full
option and piping, usingsys-net
as VMNAME:Steps to reproduce
Apparently the logic does not work and it always seems to default to the non-default, A.K.A. the disabled behavior:
Expected behavior
I don't know. What's more confusing, the script says:
So the expected behavior might have been something like:
where we would refer to the non-printed part (
str(volume)
) as internal devices. But this would contradict the documentation, which says:So maybe the documentation is wrong too?
Actual behavior
See Steps to reproduce above.
The text was updated successfully, but these errors were encountered: