lkml.org 
[lkml]   [1999]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] v1.01 of /proc/.config (ready to eat)
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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.458 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site