[Cialug] Where's the CD Device?

Nicolai nicolai-cialug at chocolatine.org
Thu Feb 13 17:14:34 CST 2014


On Thu, Feb 13, 2014 at 01:41:35PM -0600, Daniel A. Ramaley wrote:

> For data CDs, you can rip a perfect image; this is the procedure i use; 
> there is probably something simpler:
>     $ DEV=/dev/scd0
>     $ BS=`isoinfo -i $DEV -d | grep 'block size is' | \
>       awk -F': ' '{print $2}'`

Why not simply:

awk -F': ' '/block size is/ {print $2}'

No need to grep.

Nicolai


More information about the Cialug mailing list