Re: be careful with kernel "make distclean"

Stephen C. Tweedie (sct@dcs.ed.ac.uk)
Wed, 17 Apr 1996 00:57:45 +0100


Hi,

On Tue, 16 Apr 1996 02:14:40 -0400, "David S. Miller"
<davem@caip.rutgers.edu> said:

> I just blew away most of my CVS/Entries files before a huge commit
> because that rule deletes zero length files ;-(

Tell me about it. :(

I usually just do make mrproper and
rm `find . -size 0 | grep -v CVS`
to avoid the problem, but even that's not entirely satisfactory since
it rm -f's modules/*, sadly including modules/CVS.

That can be recovered with a cvs co linux/modules, but basically I
have to agree with the subject: line... be *very* careful cleaning up
cvs'ed kernel trees! Having said that, cvs is an absolute lifesaver
when it comes to managing the number of revision branches I've got in
my kernel repository...

Cheers,
Stephen.

--
Stephen Tweedie <sct@dcs.ed.ac.uk>
Department of Computer Science, Edinburgh University, Scotland.