Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2005 16:52:59 -0800 (PST)
From:      Rob <spamrefuse@yahoo.com>
To:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   new rc.d/initdiskless: wrong flags with /rescue/pax and cpio archive ?
Message-ID:  <20050218005259.2134.qmail@web54001.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050218005259.2134.qmail>