The output of mkisofs can be fed directly into
cdrecord
if the CPU is fast enough (better than 400MHz).
Note that the default installation requires cdrecord
to be
run as root.
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 speed=8 dev=0,1,0 tsize=${IMG_SIZE}s -data -
|
Copyright (c) 2003-2004