block: also check /proc/self/mountinfo to find mountpoint
authorDaniel Golle <daniel@makrotopia.org>
Thu, 21 Jul 2016 01:55:48 +0000 (03:55 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 21 Jul 2016 02:11:41 +0000 (04:11 +0200)
Matching only the device name doesn't always work, e.g. in case of
/dev/root. Thus also check the device(minor,major) which can be scraped
from /proc/self/mountinfo.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

No differences found