rework temporaries
move mounting into ptree_mount