Could this be from the naval "rack"? The bed for a sailor's use, not necessarily, but usually, at sea.