Actually, my comment was directed at Bernard. But yes, hot-bunks are shared beds. On some (most??) modern Navy ships, there's not enough room to have one bed per person, even with bunk-beds (a twin-size bed stacked over another), so they have to schedule it so one crewman works while the other sleeps.