Detection of mount points

I would have added the actual root file system, as this is a potential source for breakage as the same mount point occurs twice in `proc/mounts`.