Re: [patch] v1.01 of /proc/.config (ready to eat)

Oliver Xymoron (oxymoron@waste.org)
Sat, 13 Mar 1999 09:42:54 -0600 (CST)


On Sat, 13 Mar 1999, Alan Cox wrote:

> > +rm -f ./kernel/dconfig_buf.c 2> /dev/null
> > +cat $tmp1 .config $tmp2 > ./kernel/dconfig_buf.c
>
> (cat $tmp1; sed -e "s/^CONFIG_//" <.config; cat $tmp2) > ./kernel/dconfig_buf.c
>
> (free compression 8))

Bzzt. You must keep comments, etc. MEC is going to be very leery of
anything that doesn't exactly preserve the contents. Better just to gzip
it. The patch I posted back right before 2.2.0 did all this and included a
nice replacement for drivers/sound/bin2hex as well.

--
 "Love the dolphins," she advised him. "Write by W.A.S.T.E.." 

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/