mkdin ls work with mountpoints, fixing logic bugs