Chapter 5. S/390 volume distribution 73
Using the CD-RW unit in our system, we wrote a CD containing only this file:
$ su (Must be root to burn CD)
# cdrecord -scanbus (Can we see the CD writer?)
# ls -al /tmp/burn/* (Confirm file is present)
# mkisofs -R /tmp/burn/* | cdrecord -v fs=6m dev=0,0 - (Burn CD)
# rm /tmp/burn/S4RES1.gz (Clean up if you are short on space)
The CD that is produced can be restored (using ckdrestore) to a simple Linux file or to a raw
device. You could use this CD in the restore example in “Raw devices” on page 72.
To install (restore) this CD, we can use:
$ mkdir /s390/restore (Make a test directory)
$ ckdfmt -r -n /s390/restore/S4RES1 3390-3
$ mount /dev/cdrom /mnt/cdrom (If automount does not do it for you)
$ ls -al /mnt/c ...