"Slaves could not be volunteers without the consent of the master." Excellent point.
The law of Feb. 17, 1864, conscripted free men of color for non-combat duties - quartermaster, commissary, engineer depts. &c. If I'm not mistaken, Serial IV of the Official Records reports the numbers enrolled for these purposes.