mkisofs and directories

Warren Block wblock at wonkity.com
Thu Apr 16 00:29:54 UTC 2009


On Wed, 15 Apr 2009, Peter Ulrich Kruppa wrote:
> Am Dienstag, den 14.04.2009, 23:22 -0600 schrieb Tim Judd:
>> On Tue, Apr 14, 2009 at 4:18 PM, Alexander Best <
>> alexbestms at math.uni-muenster.de> wrote:
>>
>>> 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?
>>
>> 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
> That was what I thought it should do - but it doesn't!

Look at the -graft-points option to mkisofs.

-Warren Block * Rapid City, South Dakota USA


More information about the freebsd-questions mailing list