From: Karel Zak Date: Thu, 18 Oct 2018 14:16:12 +0000 (+0200) Subject: docs: add lsblk --merge to TODO X-Git-Tag: v2.34-rc1~207 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=94d4c2dca456227f0cf34498eef51e9ac9efbdbd;p=thirdparty%2Futil-linux.git docs: add lsblk --merge to TODO Signed-off-by: Karel Zak --- diff --git a/Documentation/TODO b/Documentation/TODO index 86ee25af92..118aa9a896 100644 --- a/Documentation/TODO +++ b/Documentation/TODO @@ -34,12 +34,6 @@ lscpu lsblk ----- - - re-write the way how lsblk internally holds info about devices. Now we - compose only output (by libsmartcols). It would be better to have in memory - complete tree of the devices and generate the output from this tree. It will - make code more readable and allow to generate output in more ways -- for - example for RAIDs (https://github.com/karelzak/util-linux/issues/616) - - currently it does not show mountpoint for all devices in btrfs RAID. It's because /proc/#/mountinfo contains reference to the one device only. Maybe we can add some btrfs specific code to provide a better output for FS based stacks. Not sure. @@ -49,6 +43,22 @@ lsblk and it may be confusing for end-users when FS to DEV mapping is not 1:1 (RAIDs, btrfs, ...) + - add --merge option to merge the same trees + sdb 8:16 0 204M 0 disk + └─md127 9:127 0 611.5M 0 raid0 + sdc 8:32 0 204M 0 disk + └─md127 9:127 0 611.5M 0 raid0 + sdd 8:48 0 204M 0 disk + └─md127 9:127 0 611.5M 0 raid0 + to + sdb| 8:16 0 204M 0 disk + sdc| 8:32 0 204M 0 disk + sdd| 8:48 0 204M 0 disk + └─md127 9:127 0 611.5M 0 raid0 + + This feature will require change to libsmartcols to support "multi-parent" + output formatting (more than one parent). + nsenter(1) ---------- - read the default UID and GID from the target process.