From owner-freebsd-current Sun Sep 24 15:07:22 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA17103 for current-outgoing; Sun, 24 Sep 1995 15:07:22 -0700 Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id PAA17096 for ; Sun, 24 Sep 1995 15:07:20 -0700 Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <15318(5)>; Sun, 24 Sep 1995 15:06:45 PDT Received: from localhost by crevenia.parc.xerox.com with SMTP id <177475>; Sun, 24 Sep 1995 15:06:38 -0700 To: Terry Lambert cc: current@freebsd.org Subject: Re: kernel versions and config's rm -rf In-reply-to: Your message of "Sun, 24 Sep 95 14:41:08 PDT." <199509242141.OAA03933@phaeton.artisoft.com> Date: Sun, 24 Sep 1995 15:06:35 PDT From: Bill Fenner Message-Id: <95Sep24.150638pdt.177475@crevenia.parc.xerox.com> Sender: owner-current@freebsd.org Precedence: bulk In message <199509242141.OAA03933@phaeton.artisoft.com> you write: >You are both forgetting minor issues. > >Like vnode_if.c and syscalls.c. Sorry, I should have edited the text of my message when I changed the patch. (I wrote the message and the patch at the same time, then tested the patch and ended up addint stuff to it). Look at the patch, what I actually made it do was: sprintf(tmp, "cd %s; make clean > /dev/null ; " "rm Makefile machine *.c *.h", p); This creates a directory with one file in it -- "version". The other solution that I was considering was reading the number out of the "version" file before the "rm -rf" and then writing it out again afterwards. I'll write that instead, if it would make you more comfortable. Bill