How does one include the top level directory in the ISO using mkisofs?
For example:
$ mkdir -p a/b/c d/e/f
$ tree .
.
|-- a
| `-- b
| `-- c
`-- d
`-- e
`-- f
$ mkisofs -r -o foo.iso a d
$ mkdir mp
$ mount -o loop foo.iso mp
$ tree mp
mp
|-- b
| `-- c
`-- e
`-- f
4 directories, 0 files
Notice that the directories a and b are missing. Is there an option
I can specify to mkisofs so that the top level directories (a and d
in this case) are included in the ISO? I've been using this work
around, but find it very kludgy:
$ mkdir a1; ln -s ../a a1
$ mkdir d1; ln -s ../d d1
$ mkisofs -f -r -o foo.iso a1 d1
$ mount -o loop foo.iso mp
$ tree mp/
mp/
|-- a
| `-- b
| `-- c
`-- d
`-- e
`-- f
Regards,
- Robert
http://www.cwelug.org/downloads
Help others get OpenSource software. Distribute FLOSS
for Windows, Linux, *BSD, and MacOS X with BitTorrent
_______________________________________________
CWE-LUG mailing list
[email protected]
http://www.cwelug.org/
http://www.cwelug.org/archives/
http://www.cwelug.org/mailinglist/