from CDROM-Howto:
6.24. How do I read a CD volume label?
There is a small utility called volname included with recent versions of the eject program. Alternatively you can run this shell command:
dd if=/dev/cdrom bs=1 skip=32808 count=32
assuming /dev/cdrom is the device file name for your drive.