lsblk: is just so much better then mount for showing partitions

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 12 years ago
parent 97c7fefa50
commit d7841bdd83

@ -1423,8 +1423,13 @@ check_mmc () {
echo "fdisk -l:"
LC_ALL=C fdisk -l 2>/dev/null | grep "Disk /dev/" --color=never
echo ""
if which lsblk > /dev/null ; then
echo "lsblk:"
lsblk | grep -v sr0
else
echo "mount:"
mount | grep -v none | grep "/dev/" --color=never
fi
echo ""
exit
fi

Loading…
Cancel
Save