Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2009 23:22:51 -0600
From:      Tim Judd <tajudd@gmail.com>
To:        Alexander Best <alexbestms@math.uni-muenster.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mkisofs and directories
Message-ID:  <ade45ae90904142222r540e449ctb33b3077b822c08a@mail.gmail.com>
In-Reply-To: <permail-2009041422182680e26a0b00004c0e-a_best01@message-id.uni-muenster.de>
References:  <permail-2009041422182680e26a0b00004c0e-a_best01@message-id.uni-muenster.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 14, 2009 at 4:18 PM, Alexander Best <
alexbestms@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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ade45ae90904142222r540e449ctb33b3077b822c08a>