Isar would loop forever if a mount cannot be unmounted because another
bind mount was done underneath it (e.g. <basedir>/sys/devices on top
of <basedir>/sys). Increase of chances of success by trying to unmount
everything before returning an error. In the <basedir>/sys/dev case,
we may try <basedir>/sys first and fail but would continue to unmount
<basedir>/sys/dev. On the following call, only <basedir>/sys will remain
and the unmount_all should now succeed. We may want to implement a
timeout: e.g. giveup after 30 tries (i.e. approximately 30 seconds)?
Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>