From owner-cvs-etc Wed Mar 22 19:26:13 1995 Return-Path: cvs-etc-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA26373 for cvs-etc-outgoing; Wed, 22 Mar 1995 19:26:13 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id TAA26363; Wed, 22 Mar 1995 19:26:03 -0800 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by time.cdrom.com (8.6.11/8.6.9) with ESMTP id TAA06574; Wed, 22 Mar 1995 19:25:48 -0800 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.8/8.6.6) id TAA11323; Wed, 22 Mar 1995 19:25:35 -0800 From: "Rodney W. Grimes" Message-Id: <199503230325.TAA11323@gndrsh.aac.dev.com> Subject: Re: cvs commit: src/etc rc.netstart rc sysconfig netstart To: jkh@freefall.cdrom.com (Jordan K. Hubbard) Date: Wed, 22 Mar 1995 19:25:34 -0800 (PST) Cc: jkh@freebsd.org, CVS-commiters@time.cdrom.com, cvs-etc@time.cdrom.com In-Reply-To: <22712.795923306@freefall.cdrom.com> from "Jordan K. Hubbard" at Mar 22, 95 05:48:26 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 4893 Sender: cvs-etc-owner@freebsd.org Precedence: bulk > > > As long as your in there doing gratitious file renameing > > (netstart -> rc.netstart) why not rename sysconfig -> rc.sysconfig. > > It may look gratuitous at first blush, but if you actually really look > at it you'll see where the point of division clearly lies. netstart, rc.netstart, what ever, it still does basically what /etc/netstart has done on a bsd box for years. You just took out the changeable values and put them in sysconfig (that was a good thing to do) and hauled all the networking stuff out of /etc/rc into /etc/rc.netstart. I still say the name changes is gratuitous, plain and simple. > sysconfig contains the system configuration for the benefit of some > number of rc. scripts, each of which contains the > initialization code particular to some particular area of the system. > netstart was really just the smashed-together contents of part of > sysconfig (variable settings) and some stuff ripped from the original > rc file in someone's first pass cleanup. I'm simply continuing that > cleanup and making the filenames orthogonal with eachother (though > this and the edit-pr argument are beginning to make me think that > arguing for greater orthogonality is a lost cause with you, Rod!). AH... echo a b c | xargs -n 1 COMMAND is VERY VERY orthogonal, it works for all commands, no need to go muck with the sources to add for loops over argument lists. Infact that is carry orthagonility and KISS to a maximum. > > you did this I really want *you* to go grep /usr/share/man for the > > word netstart and fix all the man pages. > > That's fine. I actually think you give us too much credit anyway. > Since when did we ever provide documentation for anything in /etc/* > that was anything but a sad joke? Documentation on setting up > netstart that I'll have to change? Hahahahahaha! There *is no* > documentation, dude, and if there's ever a time to change it > I'd say now is a pretty good one! There is, I have a whole book shelf full of this stuff. You just made the 4.4BSD manual smm/01.setup from 4.2BSD to 4.4BSD no longer apply to FreeBSD. If you leave the name netstart all of these references would still be correct. Changing names of things is just a bad thing to do IMHO. I already have to remeber a pile of names for where this stuff is based on what system I am on (HP/UX made a real mess of this stuff). > > > Then send corrections to all the BSD based sysadmin manual writers to > > Thanks. If I see him, I'll be sure to let him know. I can tell you don't read many technincal manuals on unix system's admin. Wonder how many references to /etc/netstart I can find in the complete set of NutShell books. > > let them know FreeBSD is different that *BSD in this area. And also > > make sure you go update all the FAQ stuff, etc etc... > > Let's see.. "All the FAQ stuff, etc etc.." > > Grep all of /usr/share/FAQ: zero references > Grep all of /usr/share/man: > ./man4/yp.4:.Nm /etc/netstart > > Damn, you're right, Rod - a reference! Shit! This is going to > take the rest of my afternoon, at least! :-) Now I am really getting upset... you did such a half ass job of searching for references: [I prunned the false hits]. ./bin/domainname/domainname.1:.Pa /etc/netstart , ./bin/hostname/hostname.1:.Pa /etc/netstart , ./gnu/usr.sbin/ypserv/ypserv.8:.Nm /etc/netstart. ./share/FAQ/FreeBSD-1.X/FreeBSD-1.1.FAQ:directly accessible by kernel code. Please see the /etc/netstart file ./share/FAQ/SGML/freebsd-faq.sgml: /etc/netstart file and the manual pages for the various ./share/FAQ/slip.FAQ:(3) Edit the /etc/netstart and add this to the end of the file: ./share/FAQ/slip.FAQ: is no local dependency in the netstart file. Also, you might want ./share/FAQ/slip_server.FAQ:/etc/netstart as appropriate for your system. Please see the manual ./share/FAQ/FreeBSD.FAQ:directly accessible by kernel code. Please see the /etc/netstart file ./share/doc/smm/01.setup/3.t:/etc/netstart \(dg network initialization ./share/doc/smm/01.setup/3.t:.Pn /etc/netstart ./share/doc/smm/01.setup/4.t:/etc/netstart ./share/doc/smm/01.setup/4.t:.Pn /etc/netstart ./share/doc/smm/01.setup/4.t:.Pn /etc/netstart ./share/doc/smm/01.setup/4.t:.Pn /etc/netstart . ./share/doc/smm/01.setup/5.t:.Pn /etc/netstart ./share/doc/smm/01.setup/5.t:.Pn /etc/netstart ./share/doc/smm/01.setup/5.t:.Pn /etc/netstart ; ./share/doc/smm/01.setup/5.t:/etc/netstart \fIrc\fP\|(8) command script for initializing network ./share/doc/smm/01.setup/5.t:.Pn /etc/netstart . ./share/doc/smm/01.setup/spell.ok:netstart ./share/examples/etc/README.examples:netstart - network startup script run from /etc/rc ./share/man/man4/yp.4:.Nm /etc/netstart > > Jordan > -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD