U/Mount /dev instead of rsync/rm

This commit:
- puts back the mount/umount of dev
- moved the mkdir of /dev after the potential lazy umount. In case
  the umount fails, the script returns 1.