I deleted /stand/, but I need it again for diskless boot...
kientzle at freebsd.org
Sun Oct 17 14:25:23 PDT 2004
I suggest patching /etc/rc.d/initdiskless instead:
@@ -299,13 +299,13 @@
cp -Rp $j/* /$subdir
- for j in /conf/$i/*.cpio.gz ; do
+ for j in /conf/$i/*.cpio ; do
if [ -f $j ]; then
echo "Loading /$subdir from cpio archive $j"
- (cd / ; /stand/gzip -d < $j | /stand/cpio --extract -d )
+ (cd / ; /bin/cat < $j | /bin/pax -r )
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
spam maps wrote:
> 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?
> PS: using /rescue/ for that instead would be really
> nice :).
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> freebsd-current at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
More information about the freebsd-current