]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: add note about lsblk to TODO
authorKarel Zak <kzak@redhat.com>
Fri, 15 Jun 2018 10:07:10 +0000 (12:07 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 21 Jun 2018 11:19:28 +0000 (13:19 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
Documentation/TODO

index 95d3950875065e009bb4d10f618dd0b95c1a7f07..78dc32a76fb71875598c04338e63b1b3b2ae0afd 100644 (file)
@@ -54,6 +54,15 @@ lscpu
 
 lsblk
 -----
+  - add --sysroot to read sysfs data from dumps rather than from a real sysfs
+  - add regression tests based on --sysroot
+
+  - 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.