[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

another mkisofs question



Hi!

Maybe someone can shed a little light on this...

When I have a structure like

./firstfile
./firstdirectory
./firstdirectory/secondfile
./firstdirectory/seconddirectory
./firstdirectory/seconddirectory/thirdfile

and I do `mkisofs -l -v -o test.iso *` the contents of firstdirectory 
are placed in the root of the iso-image alongside firstfile:

bash-2.03# mount -o loop -t iso9660 test.iso /mnt/loop/
bash-2.03# ls -la /mnt/loop/
total 5
dr-xr-xr-x    1 root     root         2048 Jan  6  2001 .
drwxrwxrwx    6 root     root         1024 Jul  5  2000 ..
-r--r--r--    1 root     root            0 Jan  6  2001 firstfile
dr-xr-xr-x    1 root     root         2048 Jan  6  2001 seconddirectory
-r--r--r--    1 root     root            0 Jan  6  2001 secondfile

I can´t find anything related to this problem in the documentation, so 
I have to work around it by adding yet another level of directories, eg

./temp/firstfile
./temp/firstdirectory
./temp/firstdirectory/secondfile
./temp/firstdirectory/seconddirectory
./temp/firstdirectory/seconddirectory/thirdfile

bash-2.03# mkisofs -l -v -o test.iso *
bash-2.03# mount -o loop -t iso9660 test.iso /mnt/loop/
bash-2.03# ls -la /mnt/loop/
total 5
dr-xr-xr-x    1 root     root         2048 Jan  6  2001 .
drwxrwxrwx    6 root     root         1024 Jul  5  2000 ..
dr-xr-xr-x    1 root     root         2048 Jan  6  2001 firstdirectory
-r--r--r--    1 root     root            0 Jan  6  2001 firstfile

mkisofs is
bash-2.03# mkisofs --version
mkisofs 1.12 (i686-pc-linux-gnu)
bash-2.03# dpkg -l | grep mkisofs
ii  mkisofs        1.8-3          Creates ISO-9660 CD-ROM filesystem images.

Any hints? It doesn´t matter where I place the iso-file or where pwd is 
(eg mkisofs -l -v -o /tmp/test.iso mkisofstest/*` does the same).

TIA,
&rw



Reply to: