diff options
author | Lauri Kasanen | 2011-04-30 21:31:05 +0200 |
---|---|---|
committer | Denys Vlasenko | 2011-04-30 21:31:05 +0200 |
commit | 9cfcc4d7a2b1dd9bdcda392aa43009b949c56c92 (patch) | |
tree | a8e8bacadae5e62731d1dec106701d1dd207dac2 /util-linux/switch_root.c | |
parent | d1993f180cd4ba0992c559e7165ec4c220af4ca0 (diff) | |
download | busybox-9cfcc4d7a2b1dd9bdcda392aa43009b949c56c92.zip busybox-9cfcc4d7a2b1dd9bdcda392aa43009b949c56c92.tar.gz |
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>
Diffstat (limited to 'util-linux/switch_root.c')
0 files changed, 0 insertions, 0 deletions