From owner-freebsd-stable Fri Jul 14 12:29:49 2000 Delivered-To: freebsd-stable@freebsd.org Received: from peak.mountin.net (peak.mountin.net [207.227.119.2]) by hub.freebsd.org (Postfix) with ESMTP id DFCE237BED2 for ; Fri, 14 Jul 2000 12:29:44 -0700 (PDT) (envelope-from jeff-ml@mountin.net) Received: (from daemon@localhost) by peak.mountin.net (8.9.1/8.9.1) id OAA02296; Fri, 14 Jul 2000 14:29:42 -0500 (CDT) (envelope-from jeff-ml@mountin.net) Received: from dial-73.max1.wa.cyberlynk.net(207.227.118.73) by peak.mountin.net via smap (V1.3) id sma002290; Fri Jul 14 14:29:14 2000 Message-Id: <4.3.2.20000714141854.00bd24d0@207.227.119.2> X-Sender: jeff-ml@207.227.119.2 X-Mailer: QUALCOMM Windows Eudora Version 4.3 Date: Fri, 14 Jul 2000 14:28:24 -0500 To: "Rodney W. Grimes" From: "Jeffrey J. Mountin" Subject: Re: NOUUCP knob MFC? Cc: stable@FreeBSD.ORG In-Reply-To: <200007131605.JAA12677@gndrsh.dnsmgr.net> References: <4.3.2.20000713094618.00abdf00@mixcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 09:05 AM 7/13/00 -0700, Rodney W. Grimes wrote: > > Can mtree deal with 'if' statements? >No, but cpp or m4 can, ahhh..heck... just use unifdef: > >unifdef -DNOUUCP unifdef -DNOUUCP ... > >Then you can sprinkle #ifdef/#ifndef/#else/#endif around what >should/should not be needed, ie: > >#ifndef NOUUCP > uucp uname=uucp gname=uucp mode=0770 > .. >#endif Wonder if Doug did something similar with src/etc/Makefile. A simple enough change. > > Simple enough to blow away a > > directory or modify the files, but it would be cleaner if the knobs would > > be able to modify mtree's behavior. > >Agreed... and rather then add yet another feature to mtree use the >small but eligant tools already provided. The next step would be to advise of cruft left around after turning on knobs. Something mergemaster could be expanded to do. Shouldn't happen automagically. One can be prompted and have a choice of options or like mergemaster currently does for files that only exist in the installed system. A good enchancement and one step closer to a truly modular system. Jeff Mountin - jeff@mountin.net Systems/Network Administrator FreeBSD - the power to serve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message