From owner-freebsd-questions@FreeBSD.ORG Thu Aug 2 18:42:56 2007 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 3D19416A420 for ; Thu, 2 Aug 2007 18:42:56 +0000 (UTC) (envelope-from lreid@cs.okstate.edu) Received: from a.cs.okstate.edu (a.cs.okstate.edu [139.78.113.1]) by mx1.freebsd.org (Postfix) with ESMTP id 2229F13C4CB for ; Thu, 2 Aug 2007 18:42:56 +0000 (UTC) (envelope-from lreid@cs.okstate.edu) Received: from [172.18.0.137] (unknown [70.168.226.150]) by a.cs.okstate.edu (Postfix) with ESMTP id 53CD2A084D; Thu, 2 Aug 2007 13:42:55 -0500 (CDT) Message-ID: <46B225AD.5010800@cs.okstate.edu> Date: Thu, 02 Aug 2007 13:42:53 -0500 From: Reid Linnemann User-Agent: Thunderbird 2.0.0.0 (X11/20070615) MIME-Version: 1.0 To: Matthias Apitz References: <46B0D50F.8050402@cs.okstate.edu> <20070802175829.GA3277@rebelion.Sisis.de> In-Reply-To: <20070802175829.GA3277@rebelion.Sisis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: cpio -dump ... 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: Thu, 02 Aug 2007 18:42:56 -0000 Written by Matthias Apitz on 08/02/07 12:58>> > El día Wednesday, August 01, 2007 a las 03:21:12PM -0600, Ross Penner escribió: > >> On 8/1/07, Reid Linnemann < lreid@cs.okstate.edu> wrote: >>> Written by Ross Penner on 08/01/07 13:34>> >>>> Hi everybody, >>>> >>>> I'm trying to install a system on a machine that doesn't have an optical >>>> drive. I plan on using a USB flash drive to do the job and found a >>>> messages from hackers@freebsd.org >>>> (http://www.mail-archive.com/freebsd-hackers@freebsd.org/msg55434.html ) > ... > > Hello, > > The above mentioned web page and script shows a usage of cpio(1) > which I have never seen before: > > cpio -dump ${tmpdir}/img > > I was curious, looked into the man page of cpio(1) and even in the > online manual at http://www.gnu.org/software/cpio/manual/cpio.html > but did not saw anything about the option '-dump'; can someone > bring a light to me? Thx > > matthias I think that should be read as a mnemonic combination of the -d -u -m and -p options (from 'info cpio'): `-d, --make-directories' Create leading directories where needed. `-u, --unconditional' Replace all files, without asking whether to replace existing newer files with older files. `-m, --preserve-modification-time' Retain previous file modification times when creating files. `-p, --pass-through' Run in copy-pass mode. *Note Copy-pass mode::. This seems to make sense to me.