From owner-freebsd-arch Wed Mar 15 10:45:16 2000 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id 2999837C07B for ; Wed, 15 Mar 2000 10:44:23 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id TAA10074 for ; Wed, 15 Mar 2000 19:46:46 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id TAA13964 for freebsd-arch@freebsd.org; Wed, 15 Mar 2000 19:44:16 +0100 (MET) Received: from barracuda.aquarium.rtci.com (barracuda.aquarium.rtci.com [208.11.247.5]) by hub.freebsd.org (Postfix) with ESMTP id A24A637C32A for ; Wed, 15 Mar 2000 10:09:25 -0800 (PST) (envelope-from tstromberg@rtci.com) Received: from barracuda (barracuda [208.11.247.5]) by barracuda.aquarium.rtci.com (8.9.3+Sun/8.9.3) with ESMTP id NAA07989; Wed, 15 Mar 2000 13:09:24 -0500 (EST) Date: Wed, 15 Mar 2000 13:09:23 -0500 (EST) From: Thomas Stromberg X-Sender: tstromberg@barracuda.aquarium.rtci.com To: Yoshinobu Inoue Cc: freebsd-arch@freebsd.org Subject: Re: Time for an /etc/ipv6 directory? (restructure /etc?) In-Reply-To: <20000315130310N.shin@nd.net.fujitsu.co.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The "three files" theory makes things seem a little SYSVish to me (for me this isn't bad, but some hardcore BSD folk will squirm). I personally like /etc/mail since theres so much stuff in there. However, should we follow SYSV and litter /etc with directories and compatibility symlinks? For example, in Solaris 7, there is 55 directories (multilevel) underneath /etc, and 79 symlinks to fix compatibility with apps that expect them (and other weird files) in old places. A lot of this is old compatibility with SunOS 4 of course. Solaris 7 chooses to throw in doors, fifos, libs, and other annoyances in there as well. However, in FreeBSD 3.4, we've got 20 subdirectories (32 or so with XF86-4.0), and 6 symlinks. Much cleaner. We do however only ~170 files, whereas Solaris 7 has ~370. Where I'm going with all of this is, should we create for instance, an /etc/inet (or inet4?) and an /etc/inet6 directory? Or have 3 directories, /etc/inet for general, /etc/inet4 for ipv4 specific stuff, /etc/inet6 for ipv6 specific stuff? Or for simplicity, move everything to an /etc/inet directory? What other files are we going to gather in /etc from the BSD/OS codemerge? Should we make an /etc/rc.d directory because we have >3 rc scripts? (we've got 17 of them now). For instance, Solaris 7 stores the following in /etc/inet: [tstromberg@barracuda] inet> find /etc/inet /etc/inet /etc/inet/CVS /etc/inet/CVS/Root /etc/inet/CVS/Repository /etc/inet/CVS/Entries /etc/inet/hosts~ /etc/inet/hosts /etc/inet/inetd.conf /etc/inet/netmasks /etc/inet/networks /etc/inet/ntp.client /etc/inet/ntp.server /etc/inet/protocols /etc/inet/services /etc/inet/sock2path /etc/inet/ntp.conf (disregard the CVS directory, it's for our internal housekeeping) Should we go the same route? Should we symlink our /etc directory to all hell and back, or screw backwards compatibility? What is our direction. I'm not advocating any of the ideas above, I just want to give everyone a little food for thought. Many questions need to be answered. Directory organization is something which is always a topic for argument, because everyone seems to have their own idea and be passionate about it. As far as myself, I don't really care, as long as /etc is only for config files :0 ======================================================================= Thomas Stromberg, Assistant IS Manager/Systems Guru smtp://tstromberg@rtci.com Research Triangle Consultants, Inc. http://afterthought.org 919.380.9771 x3210 ======================================================================= "if you do nothing enough, something's bound to happen.." ======================================================================= On Wed, 15 Mar 2000, Yoshinobu Inoue wrote: > > Greetings, > > > > We're starting to get a lot of new files in /etc related to the > > IPV6 changes (which I think are a fabulous thing, don't get me > > wrong). Would it be worthwhile to follow the precedent of /etc/ssh and > > /etc/mail to lump these files together in their own directory? My personal > > feeling is that anything which needs 3 files or more should get a > > directory, and we just crossed that point with IPV6. > > I agree it, and thanks for the suggestion. :-) > I'll prepare for it. > > Yoshinobu Inoue To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message