Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Feb 2012 17:27:19 +0100
From:      Polytropon <freebsd@edvax.de>
To:        freebsd-questions@freebsd.org
Cc:        Da Rock <freebsd-questions@herveybayaustralia.com.au>
Subject:   Re: /usr/home vs /home
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> <alpine.BSF.2.00.1202172316230.11247@abbf.6qbyyneqvnyhc.pbz> <20120218112252.772c878b.freebsd@edvax.de> <4F3F80FD.8070201@herveybayaustralia.com.au> <20120218123943.147a7842.freebsd@edvax.de> <4F3F91EC.8020209@herveybayaustralia.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120218172719.e719264c.freebsd>