From owner-freebsd-questions@FreeBSD.ORG Wed Apr 15 05:23:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44C271065673 for ; Wed, 15 Apr 2009 05:23:07 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id ED67E8FC20 for ; Wed, 15 Apr 2009 05:23:06 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so2076848qwb.7 for ; Tue, 14 Apr 2009 22:23:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=wK/68IbxnzsyIGFy4UPeV0QkH9pP4JbML5eZGLIBcDY=; b=n9pfPgSvB/l/FVNMVMfSeyPhGFSovQ2D4ttRRtKD14j7sPT8jz/l7joGnTj2+JRbDY F7bzcEq7x5NxTDWLK75klvu1GupzS/zVXdX9kjjh6qHvrwF6AmC5/eQkgCfPPJtO1jks QY1/2or9zGoNl/YqSDQZafNPQkZbKtzZ2HOdU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=k6MUj1mqy+CAEU8NF/TqHaKdQfLgLcuYZiG7npXjLkXM4fTpoK5cve2UYzBQ/x7Huy IxbckJqDLXXNE7Clrnbs8SVZqijUo6v2I06kMJKiUWOz1bV3Snvmtg5YSTUd8TQCYI46 RtVM7V/ERdj4UF2qJBcj+AMc1ZvxeSVugAAUE= MIME-Version: 1.0 Received: by 10.220.44.197 with SMTP id b5mr8281588vcf.114.1239772986137; Tue, 14 Apr 2009 22:23:06 -0700 (PDT) In-Reply-To: References: From: Tim Judd Date: Tue, 14 Apr 2009 23:22:51 -0600 Message-ID: To: Alexander Best Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: mkisofs and directories X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2009 05:23:07 -0000 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).