I suggest patching /etc/rc.d/initdiskless instead: _at__at_ -299,13 +299,13 _at__at_ cp -Rp $j/* /$subdir fi done - for j in /conf/$i/*.cpio.gz ; do + for j in /conf/$i/*.cpio ; do subdir=${j%*.cpio.gz} subdir=${subdir##*/} if [ -f $j ]; then create_md $subdir echo "Loading /$subdir from cpio archive $j" - (cd / ; /stand/gzip -d < $j | /stand/cpio --extract -d ) + (cd / ; /bin/cat < $j | /bin/pax -r ) fi done for j in /conf/$i/*.remove ; do For some reason, people keep forgetting that /bin/pax can read cpio archives. This patch also eliminates the use of gzip (at the cost of requiring an uncompressed archive, which should not be a problem in practice). If you prefer, you could use /rescue/gzip instead. Cheers, Tim spam maps wrote: > Hello, > > This is 5.3-Beta7. > > Earlier I sensed that /stand/ is more or less > redundant (that all is in /rescue/ with 5.X), so > I deleted this directory. > > However, now that I want to use diskless-bootup, > I seem to need /stand/ again. > > Is there a way to get it back? > > Thanks, > Rob. > > PS: using /rescue/ for that instead would be really > nice :). > > > > _______________________________ > Do you Yahoo!? > Declare Yourself - Register online to vote today! > http://vote.yahoo.com > _______________________________________________ > freebsd-current_at_freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org" > >Received on Sun Oct 17 2004 - 19:25:23 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:18 UTC