new rc.d/initdiskless: wrong flags with /rescue/pax and cpio archive ?

Rob spamrefuse at yahoo.com
Fri Feb 18 00:53:00 GMT 2005


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


More information about the freebsd-stable mailing list