On Saturday 30 October 2004 11:25, Leendert Meyer wrote:
Hmmm. I thought data CDs required an iso file system. I've always either used K3B or used mkisofs to prepare an iso image for cdrecord to use. Interesting. Is the burnt file usable? Say I was to burn a large log file to a disk, can I then mount the disk and read the file?
Suppose you have a directory called 'test-dir', containing 1 file called 'README':
mkisofs -o test-dir.iso test-dir
Now you can mount the file 'test-dir.iso':
mkdir mnt mount -o loop test-dir.iso mnt ls mnt . .. readme umount -d test-dir
If you burn test-dir.iso as an ordinary file, and you mount the CD to e.g. /media/cdrom, then:
ls /media/cdrom . .. test-dir.iso
And:
mkdir /tmp/mnt mount -o loop /media/cdrom/test-dir.iso /tmp/mnt ls /tmp/mnt . .. readme
If you burn test-dir.iso as an iso-image, and you mount the CD to e.g. /media/cdrom, then:
ls /media/cdrom . .. readme
Cheers,
Leen
Good explanation. Thanks Leen Jeff