What did the Confederate soldiers in the Civil War sleep on?

they slept on rugs and homemade pillows and sometimes even the ground.