Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

No Intermediate Image

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-2020 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware and the author of open source software including Rattle and wajig.
Also the author of Data Mining with Rattle and Essentials of Data Science.