A facile template-free approach for the large-scale solid-phase synthesis of CdS nanostructures and their excellent photocatalytic performance.