commit | 9cfcc4d7a2b1dd9bdcda392aa43009b949c56c92 | [log] [tgz] |
---|---|---|
author | Lauri Kasanen <curaga@operamail.com> | Sat Apr 30 21:31:05 2011 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Sat Apr 30 21:31:05 2011 +0200 |
tree | a8e8bacadae5e62731d1dec106701d1dd207dac2 | |
parent | d1993f180cd4ba0992c559e7165ec4c220af4ca0 [diff] |
fdisk: backport disk check from util-linux With the digit check devices like mmcblk0 were skipped, but now with 0 allowed we're seeing a ton of loop devices listed (loop0, loop10, loop20...) as well as ramzswap0, all which should not be shown in fdisk -l. function old new delta list_devs_in_proc_partititons 157 238 +81 Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>