mount-tmp: add check