Contents / Previous / Next


Burning CDs

CDs usually have a iso9660 filesystem,
which you can create with the command mkisofs
Then you burn the so called iso image using cdrecord.

To make a back-up of you home directory run:
 
mkisofs -r -o /tmp/cd_image -graft-points home/=~/perl

cdrecord -v speed=2 dev=0,1,0  -data  /tmp/cd_image

To test the iso image before burning do:

  losetup /dev/loop0 /tmp/cd_image 
  mount -tiso9660 /dev/loop0 /mnt
  ls -l /mnt/home
  umount /mnt
  losetup -d /dev/loop0