mkisofs and directories

Tim Judd tajudd at gmail.com
Wed Apr 15 05:23:07 UTC 2009


On Tue, Apr 14, 2009 at 4:18 PM, Alexander Best <
alexbestms at math.uni-muenster.de> wrote:

> hi there,
>
> this is a question that's always been bugging me:
>
> when i give mkisofs a directory as argument it always ads the contents of
> that
> directory to the iso. how can i tell mkisofs that i want the actual
> directory
> (including all it's contents) to be added to the iso?
>
> cheers.
> alex


unix naming convention normally dictates the following:
cp -r /cdrom/dir /mnt/
# will create /mnt/dir and everything under it
cp -r /cdrom/dir/ /mnt/
# will copy contents of dir into /mnt


Try excluding the slash (which is the only difference).


More information about the freebsd-questions mailing list