Support lscpu, lsblk and dmsetup ls --tree

Thanks to Michael Renner for triggering this.