Hello all,

I am trying to build an ISO image to dump to CD and am having some
difficulty coercing mkisofs to duplicate my directory structure.
Basically, I have a directory full of data called Data_for_CD.RAW which
contain a number of sub directories which in turn contain the data files
and other subdirectories etc. I want to duplicate the structure of
Data_for_CD.RAW on the ISO image.

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?

Shaun

--
Shaun Cloherty
Graduate School of Biomedical Engineering
University of New South Wales




-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to