mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-20 17:05:20 +01:00
After trimming the lsblk output by listing only required columns (see [1]), the output includes not only the disk devices, but also their partitions, which significantly clutters the device selection dialog.
This happens becuase the "--output" argument [2] defaults to using "--tree", but only if the column "NAME" is outputed, which in current state doesn't (only "kname" is used). So that all child elements (e.g. partitions) are listed on the same level with disk devices.
Thus ist's proposed to explicitly add "--tree" argument, so that we don't
rely on lsblk CLI intricacies
[1]
|
||
---|---|---|
.. | ||
acceleratedcryptographichash_gnutls.cpp | ||
linuxdrivelist.cpp | ||
networkmanagerapi.cpp | ||
networkmanagerapi.h | ||
org.raspberrypi.rpi-imager.desktop | ||
stpanalyzer.cpp | ||
stpanalyzer.h | ||
udisks2api.cpp | ||
udisks2api.h |