From owner-freebsd-questions@FreeBSD.ORG Sat Feb 18 16:27:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB1F61065744 for ; Sat, 18 Feb 2012 16:27:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 81B008FC0C for ; Sat, 18 Feb 2012 16:27:22 +0000 (UTC) Received: from r56.edvax.de (port-92-195-75-202.dynamic.qsc.de [92.195.75.202]) by mx01.qsc.de (Postfix) with ESMTP id D71653CC41; Sat, 18 Feb 2012 17:27:19 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q1IGRJgL082817; Sat, 18 Feb 2012 17:27:19 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 18 Feb 2012 17:27:19 +0100 From: Polytropon To: freebsd-questions@freebsd.org Message-Id: <20120218172719.e719264c.freebsd@edvax.de> In-Reply-To: <4F3F91EC.8020209@herveybayaustralia.com.au> References: <4F3ECF23.5000706@fisglobal.com> <20120217234623.cf7e169c.freebsd@edvax.de> <3D08D03C85ACFBB1ABCDC5DA@mac-pro.magehandbook.com> <20120218112252.772c878b.freebsd@edvax.de> <4F3F80FD.8070201@herveybayaustralia.com.au> <20120218123943.147a7842.freebsd@edvax.de> <4F3F91EC.8020209@herveybayaustralia.com.au> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Da Rock Subject: Re: /usr/home vs /home X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2012 16:27:23 -0000 On Sat, 18 Feb 2012 21:56:28 +1000, Da Rock wrote: > /usr/local/libexec is used by the programs usually initiated by users. > As per the man /libexec contains sub programs for those in /bin or /sbin. > > The programs are usually run by users, or run as a user themselves > (multiuser mode). Daemons also seem to reside there, and those are typically called by the system "automatically". > Single-user mode v multiuser mode. Most of those in /bin /sbin are > required minimal to revive a non functioning system. I think "man hier" summarizes it very nicely. > I think you _could_ use /usr/local/etc/rc.conf (or .local). I'd have to > look it up to be sure, but I'm sure I've stumbled on it. Most of us are > lazy though :) easier in just one file... besides, handbook says so so > it must be right :) >From "man rc.conf" (3rd paragraph) I can see that the use of /etc/rc.conf.local is possible. I have to be honest: I did never use it on FreeBSD, just a nice big ################# non-OS #################### comment barrier, followed by all the stuff one does not really need. :-) If the local_startup directories list contains /usr/local, I think even /usr/local/etc/rc.conf could be possible, but I haven't investigated on this any further. > X11 I think is. It just isn't completely filled with the conf files - > but you can override the globals there if you choose. It does get > confusing though. > > XDM is an embarrassment :P It _should_ be run as a daemon from rc.conf, > but you set it in /etc/tty, so no real surprise that its conf files are > chaotic too... Some of the xdm config files have the possibility to override them, but in the xdm/ subtree (in /usr/local/lib/X11!) there are files with hardcoded paths. I think a better separation of configuration and library items should be provided, and a startup per rc.d/ file (such as kdm and gdm provide them) should be possible. I'm not sure how wdm (the WindowMaker display manager) handles it - I assume it also uses the /etc/ttys entry. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...