Is there any elegant way to extract the label of a CD in FreeBSD 5.x ? I can use dd to get to it, but it's far from elegant. Wondering if there is some ioctl to do it cleanly; maybe even something in ports.
If anyone is curious, this is how I'm doing it now: -$ dd if=/dev/acd0a bs=64k |strings -a |head -n 3 |tail -n 1 I don't think it's safe to assume that it's always on the 3rd line, but that seems to be the case quite often. Thanks, -- Adam McLaurin <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part