The output of mkisofs can be fed directly into
cdrecord
if the CPU is fast enough (better than 400MHz).
The first step is to determine the image size:
# IMG_SIZE=$(mkisofs -R -q -print-size /home 2>&1 | sed -e "s/.* = //")
# echo $IMG_SIZE
|
Then write the data CD:
# [ "0$IMG_SIZE" -ne 0 ] &&
$ mkisofs -r /home |
cdrecord tsize=${IMG_SIZE}s -data -
|
Copyright © 1995-2006 [email protected]
|