Re: /etc and /usr/local/etc directories
On Fri, Aug 13, 2004 at 11:20:38AM -0400, Jim Trigg wrote: But most of what's in /usr/local/etc is machine-specific. Not if you have a lab/office with a hundred workstations all running the same set of third-party apps, it isn't. Cheers, Scott -- === Scott Mitchell | PGP Key ID | Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines scott at fishballoon.org | 0xAA775B8B | -- Anon ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /etc and /usr/local/etc directories
On Fri, Aug 13, 2004 at 03:42:52AM +0200, Danny Pansters wrote: For system (OS, that's kernel and userland) settings you have /etc For local (packages/ports) settings you have /usr/local/etc or /usr/X11R6/etc Of course these two local bases should have been merely hard linked long ago but that's not my decision :) One very good reason to keep these separate is that you might be mounting /usr/{local,X11R6} on many machines from a shared NFS drive. By keeping the shared configuration on the shared drive you don't have to replicate it on every machine, and /etc just contains machine-specific configuration. Cheers, Scott -- === Scott Mitchell | PGP Key ID | Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines scott at fishballoon.org | 0xAA775B8B | -- Anon ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /etc and /usr/local/etc directories
On Fri, Aug 13, 2004 at 04:03:51PM +0100, Scott Mitchell wrote: On Fri, Aug 13, 2004 at 03:42:52AM +0200, Danny Pansters wrote: For system (OS, that's kernel and userland) settings you have /etc For local (packages/ports) settings you have /usr/local/etc or /usr/X11R6/etc Of course these two local bases should have been merely hard linked long ago but that's not my decision :) One very good reason to keep these separate is that you might be mounting /usr/{local,X11R6} on many machines from a shared NFS drive. By keeping the shared configuration on the shared drive you don't have to replicate it on every machine, and /etc just contains machine-specific configuration. But most of what's in /usr/local/etc is machine-specific. Personally, on the next rebuild I intend to make /usr/local/etc a symbolic link to /etc/local. (Then again, I plan to use /opt for third-party applications and /usr/local only for locally-developed applications. /opt/etc will be a symbolic link to /etc/opt as well.) Note that I'm using a symbolic link; this is because /etc is on the root filesystem while /usr and /opt will be separate filesystems. Jim -- Jim Trigg, Lord High Everything Else O- /\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /etc and /usr/local/etc directories
Joshua Lewis [EMAIL PROTECTED] wrote: I have decided to take the plunge and try out 5.2.1. I figure it will be 5.3 soon and I like the idea of upgrading at that time. So I am going to start fiddling with it. The first thing I am noticing is when installing apps from the ports directory my config files are getting put into /usr/local/etc instead of where I am used to /etc. Huh? What version of FreeBSD were you using that put them in /etc? They've always gone in /usr/local/etc ... since 2.2 at least. I am guessing this by design and wanted to confirm this. Yes, it's by design. Is this a config setting somewhere? It is fine in the /usr/local/etc directory but if it is a config setting then perhaps there are other settings that have changed that I have not encountered yet. I would like to read up on the changes. While I am on the subject. Are there any other differences between 4.10 and 5.X that will take me by surprise? I read through the Release notes on FreeBSD.org and it never mentioned the /etc directory thing. So perhaps there are some other items I should keep my eye out for. The FreeBSD handbook is being updated all the time. You'll probably want to re-read a lot of it to see what kind of changes are occurring. There are also a lot of new man pages in existance. If you have specific questions, you can always ask on this list. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /etc and /usr/local/etc directories
Chipping in here, because although the answers are (of course!) correct it may clarify a bit... On Friday 13 August 2004 02:40, Bill Moran wrote: Joshua Lewis [EMAIL PROTECTED] wrote: I have decided to take the plunge and try out 5.2.1. I figure it will be 5.3 soon and I like the idea of upgrading at that time. So I am going to start fiddling with it. The first thing I am noticing is when installing apps from the ports directory my config files are getting put into /usr/local/etc instead of where I am used to /etc. Huh? What version of FreeBSD were you using that put them in /etc? They've always gone in /usr/local/etc ... since 2.2 at least. I am guessing this by design and wanted to confirm this. Yes, it's by design. For system (OS, that's kernel and userland) settings you have /etc For local (packages/ports) settings you have /usr/local/etc or /usr/X11R6/etc Of course these two local bases should have been merely hard linked long ago but that's not my decision :) Is this a config setting somewhere? It is fine in the /usr/local/etc directory but if it is a config setting then perhaps there are other settings that have changed that I have not encountered yet. I would like to read up on the changes. While I am on the subject. Are there any other differences between 4.10 and 5.X that will take me by surprise? Perhaps the way you load modules and the way you pass module parameters to the kernel in the loader. Also, 5.X needs /usr to be mounted because of dynamic root and if building a kernel, LINT has moved to be NOTES and its meaning has changed slightly as well as their locations inside /usr/src/sys. I read through the Release notes on FreeBSD.org and it never mentioned the /etc directory thing. So perhaps there are some other items I should keep my eye out for. This generally isn't anything new compared to 4.X or even before that. The FreeBSD handbook is being updated all the time. You'll probably want to re-read a lot of it to see what kind of changes are occurring. There are also a lot of new man pages in existance. If you have specific questions, you can always ask on this list. I'm sure the $LOCALBASE and $X11BASE thing is discussed in the Handbook or at least the Porters Handbook, yes. Regards, HTH, Dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]