cot (n.2) Look up cot at Dictionary.com
"hut, cottage;" see cote.
cot (n.1) Look up cot at Dictionary.com
"small bed," 1630s, from Hindi khat "couch, hammock," from Sanskrit khatva, probably from a Dravidian source (compare Tamil kattil "bedstead").