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

Mkisofs does not copy the subdirectories



Hello

I want to create a .iso, I do

[root testrh cdrom]# pwd
/tmp/cdrom
[root testrh cdrom]# ls RedHat/RPMS/ | wc -l
562
[root testrh cdrom]# mkisofs -o /tmp/file.iso -b isolinux.bin -c boot.cat -no-emul-boot  -boot-info-table -R -J -v -T /tmp/cdrom/isolinux/
INFO:   UTF-8 character encoding detected by locale settings.
        Assuming UTF-8 encoded filenames on source filesystem,
        use -input-charset to override.
mkisofs 2.01 (i686-pc-linux-gnu)
Scanning /tmp/cdrom/isolinux/
Excluded by match: /tmp/cdrom/isolinux/boot.cat
Excluded: /tmp/cdrom/isolinux/TRANS.TBL
Writing:   Initial Padblock                        Start Block 0
Done with: Initial Padblock                        Block(s)    16
Writing:   Primary Volume Descriptor               Start Block 16
Done with: Primary Volume Descriptor               Block(s)    1
Writing:   Eltorito Volume Descriptor              Start Block 17
Size of boot image is 20 sectors -> No emulation
Done with: Eltorito Volume Descriptor              Block(s)    1
Writing:   Joliet Volume Descriptor                Start Block 18
Done with: Joliet Volume Descriptor                Block(s)    1
Writing:   End Volume Descriptor                   Start Block 19
Done with: End Volume Descriptor                   Block(s)    1
Writing:   Version block                           Start Block 20
Done with: Version block                           Block(s)    1
Writing:   Path table                              Start Block 21
Done with: Path table                              Block(s)    4
Writing:   Joliet path table                       Start Block 25
Done with: Joliet path table                       Block(s)    4
Writing:   Directory tree                          Start Block 29
Done with: Directory tree                          Block(s)    2
Writing:   Joliet directory tree                   Start Block 31
Done with: Joliet directory tree                   Block(s)    1
Writing:   Directory tree cleanup                  Start Block 32
Done with: Directory tree cleanup                  Block(s)    0
Writing:   Extension record                        Start Block 32
Done with: Extension record                        Block(s)    1
Writing:   The File(s)                             Start Block 33
Total translation table size: 5146
Total rockridge attributes bytes: 1388
Total directory bytes: 0
Path table size(bytes): 10
Done with: The File(s)                             Block(s)    2555
Writing:   Ending Padblock                         Start Block 2588
Done with: Ending Padblock                         Block(s)    150
Max brk space used 0
2738 extents written (5 MB)
[root testrh cdrom]# ls -al /tmp/file.iso
-rw-r--r--  1 root root 5607424 avr 13 13:16 /tmp/file.iso
[root testrh cdrom]#

But after burning, I see on the CD not a single directory


[root testrh cdrom]# ls -al /mnt/cdrom
total 5112
dr-xr-xr-x  2 root root    4096 avr 13 09:56 .
drwxr-xr-x  3 root root    4096 avr 12 08:27 ..
-r--r--r--  1 root root    2048 avr 13 13:02 boot.cat
-rwxr-xr-x  1 root root     292 avr 13 08:17 boot.msg
-rwxr-xr-x  1 root root    1034 avr 13 08:17 general.msg
-rwxr-xr-x  1 root root 3595163 avr 13 08:17 initrd.img
-rwxr-xr-x  1 root root    9856 avr 13 13:00 isolinux.bin
-rwxr-xr-x  1 root root     673 avr 13 09:56 isolinux.cfg
-rwxr-xr-x  1 root root   12012 avr 13 08:17 ks.cfg
-rwxr-xr-x  1 root root   81860 avr 13 08:17 memtest
-rwxr-xr-x  1 root root     788 avr 13 08:17 options.msg
-rwxr-xr-x  1 root root     872 avr 13 08:17 param.msg
-rwxr-xr-x  1 root root     490 avr 13 08:17 rescue.msg
-rwxr-xr-x  1 root root     549 avr 13 08:17 snake.msg
-rwxr-xr-x  1 root root    6056 avr 13 08:17 splash.lss
-r--r--r--  1 root root    3098 avr 13 13:02 TRANS.TBL
-rwxr-xr-x  1 root root 1504146 avr 13 08:17 vmlinuz

Any idea what I am doing wrong ?

Thanks for any hint.

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