While some preferred using a bedroll knapsacks were issued and used by both sides throughout the war. Regularly when reading accounts of battles from soldiers they mention being ordered to drop their knapsacks.
View attachment 591025
Some would use both like the Reb in the middle of the famous 3 Confederate prisoner photo.
View attachment 591026
Even in the last days of the war some of the Confederates in this photo of prisoners of Saylor's Creek are still using knapsacks.
View attachment 591027