From owner-freebsd-stable@FreeBSD.ORG Fri Feb 18 00:53:00 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1E6B16A4CE for ; Fri, 18 Feb 2005 00:53:00 +0000 (GMT) Received: from web54001.mail.yahoo.com (web54001.mail.yahoo.com [206.190.36.225]) by mx1.FreeBSD.org (Postfix) with SMTP id EFC3543D41 for ; Fri, 18 Feb 2005 00:52:59 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: (qmail 2136 invoked by uid 60001); 18 Feb 2005 00:52:59 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=h2kZmYz6kEVO81JxT6tQSRLDKCk6hvdYeiAnChAL2ZbWx+GWtfx3+DoUQPGGjBDaezVblKdDAbmJwIlXFcTUToXpJMvvbHjZ824H5BGUKi7+ShqQN2H4hHjMfruglK4Pe3XkepcEuhGl1cX6F17F5zwFxvJA7L66cpsWddjkApc= ; Message-ID: <20050218005259.2134.qmail@web54001.mail.yahoo.com> Received: from [147.46.44.181] by web54001.mail.yahoo.com via HTTP; Thu, 17 Feb 2005 16:52:59 PST Date: Thu, 17 Feb 2005 16:52:59 -0800 (PST) From: Rob To: FreeBSD Stable MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: new rc.d/initdiskless: wrong flags with /rescue/pax and cpio archive ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Feb 2005 00:53:00 -0000 Hi, This is with diskless operation. Until the new, recent initdiskless script, I have been using un-archived directories in /conf/base/ and /conf/default/. With the recent patch to rc.d/initdiskless (now using /rescue/pax), I've decided to create cpio.gz archives instead, but failed. The pax flags used in the initdiskless seems to be wrong. On the server, I try, for example: # cd /conf/default # ls -p etc/ # find etc/ | cpio -o > etc.cpio 30 blocks # gzip etc.cpio # /rescue/pax -x cpio -r -z -p e -f \ /conf/default/etc.cpio.gz pax: Invalid combination of options: -f -p -r -x usage: [...cut...] -------------------------------------------- The last "/rescue/pax ..." line is from the rc.d/initdiskless script. This is obviously not working. Booting the diskless machine, also does not work because of this problem. Regards, Rob. __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail