|As a test, I tried to copy the first subdirectory (Data_for_CD.RAW/Dir1)
|into the image;
|
|$ cd Data_for_CD.RAW
|$ mkisofs -r -o ../test-image.iso ./Dir1
|
|mkisofs spits out a whole bunch of 'useful' info like "Total extents
|actually written", "Path table size(bytes)" etc.
|
|When I mount the resulting image;
|
|# mount -t iso9660 -o loop ../test-image.iso /mnt/loop
|
|and look at its contents, it contains all the right files, but has put
|all the files in the 'root' directory of the image, not in a
|subdirectory called Dir1. This is certainly not the behavior I
|expected... perhaps I expect too much? Am I missing something here?
Yes, the directory you specify to mkisofs becomes the top directory of
the CD. So you should do:
mkisofs -r -o test-image.iso Data_for_CD.RAW
and then Dir1 will appear on the CD, but then so will all the other
subdirectories of Data_for_CD.RAW
Actually there are ways of specifying what name a directory will appear
as on the CD but we won't go into that here.
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug