summaryrefslogtreecommitdiff
path: root/misc-utils/lsmtd.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos found by Debian's lintian toolBastian Germann2020-09-111-3/+3
| | | | | Signed-off-by: Bastian Germann <bastiangermann@fishpost.de> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
* Add manpage for lsmtdDavid Oberhollenzer2018-06-181-0/+1
| | | | Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
* Add lsmtd programDavid Oberhollenzer2018-06-181-0/+793
This patch adds a program called "lsmtd". The program produces a pretty printed list of the hierarchy of UBI and MTD devices on a system. It tries to imitate the lsblk program from util-linux as closely as possible. A number of command line switches are available to fine tune what information should be exposed and in what output format. The goal is to have a simple way of displaying the complete MTD stack on a system in a human readable form instead of piecing details together from proc files and various UBI utilities. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>