| From | Sent On | Attachments |
|---|---|---|
| Robison, Dave | Feb 17, 2012 2:05 pm | |
| Chuck Swiger | Feb 17, 2012 2:17 pm | |
| Devin Teske | Feb 17, 2012 2:34 pm | |
| Maxim Khitrov | Feb 17, 2012 2:40 pm | |
| Douglas Carmichael | Feb 17, 2012 2:42 pm | |
| Polytropon | Feb 17, 2012 2:46 pm | |
| Jerry McAllister | Feb 17, 2012 2:48 pm | |
| Douglas Carmichael | Feb 17, 2012 2:50 pm | |
| Jerry McAllister | Feb 17, 2012 2:53 pm | |
| Da Rock | Feb 17, 2012 2:54 pm | |
| Devin Teske | Feb 17, 2012 3:11 pm | |
| Julian H. Stacey | Feb 17, 2012 3:19 pm | |
| Polytropon | Feb 17, 2012 3:22 pm | |
| Robison, Dave | Feb 17, 2012 3:24 pm | |
| Da Rock | Feb 17, 2012 3:29 pm | |
| Chris Hill | Feb 17, 2012 3:49 pm | |
| Chuck Swiger | Feb 17, 2012 3:55 pm | |
| Devin Teske | Feb 17, 2012 4:02 pm | |
| Robison, Dave | Feb 17, 2012 4:09 pm | |
| Devin Teske | Feb 17, 2012 4:11 pm | |
| Chuck Swiger | Feb 17, 2012 4:40 pm | |
| Devin Teske | Feb 17, 2012 4:54 pm | |
| Da Rock | Feb 17, 2012 4:54 pm | |
| Da Rock | Feb 17, 2012 4:59 pm | |
| Devin Teske | Feb 17, 2012 5:05 pm | |
| Devin Teske | Feb 17, 2012 5:09 pm | |
| Chuck Swiger | Feb 17, 2012 5:13 pm | |
| David Brodbeck | Feb 17, 2012 5:17 pm | |
| Da Rock | Feb 17, 2012 5:17 pm | |
| Doug Hardie | Feb 17, 2012 5:50 pm | |
| Erich Dollansky | Feb 17, 2012 6:08 pm | |
| Daniel Staal | Feb 17, 2012 6:16 pm | |
| Da Rock | Feb 17, 2012 7:16 pm | |
| Leslie Jensen | Feb 17, 2012 9:44 pm | |
| Lars Eighner | Feb 17, 2012 10:05 pm | |
| Robert Bonomi | Feb 17, 2012 10:32 pm | |
| Robert Bonomi | Feb 17, 2012 11:15 pm | |
| Erich Dollansky | Feb 17, 2012 11:47 pm | |
| Doug Hardie | Feb 17, 2012 11:54 pm | |
| Matthew Seaman | Feb 18, 2012 12:39 am | |
| Polytropon | Feb 18, 2012 2:12 am | |
| Polytropon | Feb 18, 2012 2:22 am | |
| Da Rock | Feb 18, 2012 2:43 am | |
| Damien Fleuriot | Feb 18, 2012 3:06 am | |
| Damien Fleuriot | Feb 18, 2012 3:10 am | |
| Matthew Seaman | Feb 18, 2012 3:23 am | |
| Da Rock | Feb 18, 2012 3:36 am | |
| Polytropon | Feb 18, 2012 3:39 am | |
| Da Rock | Feb 18, 2012 3:56 am | |
| Matthew Seaman | Feb 18, 2012 5:38 am | |
| Da Rock | Feb 18, 2012 5:47 am | |
| Matthew Seaman | Feb 18, 2012 6:28 am | |
| Robert Bonomi | Feb 18, 2012 6:45 am | |
| RW | Feb 18, 2012 6:54 am | |
| Da Rock | Feb 18, 2012 6:54 am | |
| Polytropon | Feb 18, 2012 8:26 am | |
| Jerry McAllister | Feb 18, 2012 1:06 pm | |
| Jerry McAllister | Feb 18, 2012 1:33 pm | |
| Michael Sierchio | Feb 18, 2012 2:45 pm | |
| Matthew Story | Feb 18, 2012 3:08 pm | |
| Daniel Staal | Feb 18, 2012 3:10 pm | |
| Michael Sierchio | Feb 18, 2012 3:31 pm | |
| Erich Dollansky | Feb 18, 2012 5:03 pm | |
| Jerry McAllister | Feb 18, 2012 6:30 pm | |
| Erich Dollansky | Feb 18, 2012 7:54 pm | |
| Carl Johnson | Feb 18, 2012 8:39 pm | |
| Erich Dollansky | Feb 18, 2012 9:26 pm | |
| Stephen Cook | Feb 18, 2012 11:21 pm | |
| Julian H. Stacey | Feb 19, 2012 6:29 am | |
| Daniel Staal | Feb 19, 2012 8:10 am | |
| parv | Feb 19, 2012 8:43 am | |
| Julian H. Stacey | Feb 19, 2012 10:37 am | |
| Da Rock | Feb 20, 2012 6:44 am | |
| Jerry McAllister | Feb 20, 2012 6:47 am | |
| Jerry McAllister | Feb 20, 2012 6:55 am | |
| Jerry McAllister | Feb 20, 2012 6:58 am | |
| Julian H. Stacey | Feb 20, 2012 8:14 am | |
| Jerry McAllister | Feb 20, 2012 8:34 am | |
| Devin Teske | Feb 20, 2012 8:36 am | |
| Julian H. Stacey | Feb 20, 2012 9:43 am | |
| Robison, Dave | Feb 20, 2012 1:43 pm | |
| Paul Mather | Feb 20, 2012 2:05 pm | |
| Erich Dollansky | Feb 20, 2012 6:09 pm | |
| Chip Camden | Feb 20, 2012 9:25 pm | |
| Erich Dollansky | Feb 20, 2012 9:40 pm | |
| Robert Bonomi | Feb 20, 2012 10:06 pm | |
| Chip Camden | Feb 20, 2012 10:19 pm | |
| Doug Hardie | Feb 20, 2012 10:52 pm | |
| Erich Dollansky | Feb 20, 2012 11:37 pm | |
| Erich Dollansky | Feb 20, 2012 11:43 pm | |
| Robert Bonomi | Feb 21, 2012 4:38 am | |
| Polytropon | Feb 21, 2012 7:18 am | |
| Jerry McAllister | Feb 21, 2012 7:56 am | |
| per...@pluto.rain.com | Feb 21, 2012 10:13 am | |
| David Brodbeck | Feb 21, 2012 11:47 am | |
| Erich Dollansky | Feb 21, 2012 4:43 pm | |
| Erich Dollansky | Feb 21, 2012 4:50 pm |
| Subject: | Re: /usr/home vs /home | |
|---|---|---|
| From: | Da Rock (free...@herveybayaustralia.com.au) | |
| Date: | Feb 18, 2012 3:56:05 am | |
| List: | org.freebsd.freebsd-questions | |
On 02/18/12 21:39, Polytropon wrote:
On Sat, 18 Feb 2012 20:44:13 +1000, Da Rock wrote:
BTW I was intending to put across the concept of /usr being user related - anything a user may need or use; as opposed to / for the system related stuff that keeps it running. Maybe I wasn't as clear as I had thought... :)
There's lots of philosophy, tradition and vanished differentiation in this field. The manpage "man hier" provides a good explaination for the layout chosen for FreeBSD. However, there are questions that may arise:
What kind of programs? Those called by users, by the system, or by other programs (see libexec)?
/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).
What's the difference between /bin and /sbin, same for /usr/bin and /usr/sbin? Could they maybe be merged when their functionality is similar and they reside on the same partition (file system) anyway?
Single-user mode v multiuser mode. Most of those in /bin /sbin are required minimal to revive a non functioning system.
The /etc directory - "editable text configuration" :-) - historically also contained binaries like /etc/mount or /etc/GETTY. Depending on its location, one can assume that it controls OS things only. Wrong. In many cases, /etc/rc.conf also contains settings for enabling services installed by ports. Even though FreeBSD can use /etc/rc.conf.local (has been known in OpenBSD for non-OS setup stuff), most things are found in the system-wide file. But the corresponding start scripts are in /usr/local/etc/rc.d. Why no /usr/local/etc/rc.conf? But as rc.conf is just a file to associate variables with names, there's no problem if they are defined, but not used (e. g. in a limited system state after encountering a problem)...
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 :)
Luckily, most software installed from ports keeps its settings out of /etc and uses /usr/local/etc instead. Having _known_ locations for settings makes it easy to back them up.
How about X on desktops? /etc/X11 is the common location for config files (if used), but per deduction, they should be in /usr/local/etc/X11 as X is a port, not a part of the OS. What about the configuration of xdm? Why isn't it stored in some /usr/local/etc subtree, but instead /usr/local/lib/X11/xdm/ is used?
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...
This short list is just to mention the loads of philosophy hidden within the system. :-)
I'm no expert, but for the most part it all makes sense (I think); either that or I could be suffering from stockholm syndrome :)
_______________________________________________ free...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "free...@freebsd.org"





