From owner-freebsd-questions@FreeBSD.ORG Tue Feb 21 18:28:40 2012 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 F3C0B106564A for ; Tue, 21 Feb 2012 18:28:39 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id BBEE68FC0A for ; Tue, 21 Feb 2012 18:28:39 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa03 [127.0.0.1]) by ltcfislmsgpa03.fnfis.com (8.14.4/8.14.4) with SMTP id q1LIRD6p006553; Tue, 21 Feb 2012 12:28:38 -0600 Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa03.fnfis.com with ESMTP id 134fmhg8u0-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 21 Feb 2012 12:28:38 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.1.323.3; Tue, 21 Feb 2012 12:28:37 -0600 From: Devin Teske To: , References: <201045320adcd61af12f6d6df2ffdd4e@ramattack.net> <006b01ccf0c3$0263b6c0$072b2440$@fisglobal.com> <4d1b4484fdf4aef1a8a267f05f71f450@ramattack.net> In-Reply-To: <4d1b4484fdf4aef1a8a267f05f71f450@ramattack.net> Date: Tue, 21 Feb 2012 10:28:43 -0800 Message-ID: <007001ccf0c6$a4a920c0$edfb6240$@fisglobal.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHsHIm8O7oKNxzWWqIj3M6QjIbxxAHsSoXTAe7SuycCLsPg6pXZA4YQ Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7361, 1.0.260, 0.0.0000 definitions=2012-02-21_07:2012-02-21, 2012-02-21, 1970-01-01 signatures=0 Content-Type: text/plain; charset="utf-8" Cc: Subject: RE: New iso format on 9.0 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: Tue, 21 Feb 2012 18:28:40 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of egoitz@ramattack.net > Sent: Tuesday, February 21, 2012 10:14 AM > To: freebsd-questions@freebsd.org > Subject: RE: New iso format on 9.0 >=20 > > umount /mnt > > vnconfig -u vn99c > > > > Or, you can just download this script which works on both Linux and > > FreeBSD: > > > > > > > http://druidbsd.cvs.sourceforge.net/viewvc/druidbsd/druidbsd/druid/src/to= ols/ > umo > > unt_iso.sh?view=3Dlog > > > > Usage: > > ./umount_iso.sh /mnt >=20 >=20 > Hello all, >=20 > And thanks a lot really for you're answers. Yes... I know the way you > can mount an iso image (I have done a couple of times yesterday in > fact)... but I'm really worried about how making a consistent copy of it > like I did with tar... as I said this is for an unattended installation > system... so I cannot be depending on having the cd mounted on the > operating system... with tar the -p option was important for preserving > permissions, flags, and so... perhaps now... should mount like you said > before for example.... and later having an rsync compiled with file flag > preserving support do an rsync -av /cd-mount-point > /disk-place-to-copy-cd-content ?? >=20 > this last is the real question... I have played previously several > times with memory disks mappings, mdconfig and those staff.... but how > to make a consistent copy of the cd for the unattended installation > system... Why can't you mount the disc on /mnt and then use tar after mounting the di= sk to copy the files from /mnt to /destdir ... tar cpf - -C /mnt . | tar xvpf - -C /destdir That will preserve hard links, symlinks, permissions, and times (and doesn'= t require rsync). There are other methods involving cpio, but I find tar to be nice. --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.