But it is still exist in /usr/homeIn 14.0-RELEASE (src: bbb2d2ce4220).
It's because the change affects only new users, not existing ones.But it is still exist in /usr/home
Nothing prevents you from setting it up that way. You can move your home directory to /usr/local/home/ and make /home/ a symlink that points to it.IMHO it would be way better to move to /usr/local/home.
I always prefer /home, even while FreeBSD defaulted /usr/home, and created symlink from /usr/home pointing to /home.Just a little rant here, but I hated that move.
IMHO it would be way better to move to /usr/local/home.
At the same time, finish creating a way to have all the files in /etc static with a similar file in /usr/local/etc for user configuration. Similar to /usr/local/pkg/.
This way we would only need to backup /usr/local, and it would make FreeBSD more modular, just mount your /usr/local and you have your whole system up and running.
man hier
now contains the following entries. Notice particularly what /usr/ is to contain:/usr/ contains the majority of user utilities and applications
/home/ home directories for users; the typical home for an
interactive user beastie would be /home/beastie/
It would be the symlink to /usr/home, by default, if I recall correctly.Old foggy memory I think that "/home" was actually a symlink to somewhere else for a long time.
Just a little rant here, but I hated that move. […]
getent passwd root | cut -d':' -f6 # for pre‑existing users
home=$(pw useradd '.' -N | cut -d':' -f9); home=${home%/.} # for new users
In fact you can easily go back in time on man pages online, and for FreeBSD 1.0 the entry for /usr/ as "contains the majority of user utilities and applications" doesn't seem to have changed at all since! But nothing at all about home directories, andman hier
now contains the following entries. Notice particularly what /usr/ is to contain:
man hier
generally doesn't seem to have considered them in scope to document. man hier
was FreeBSD 2.2.1 where we see /root is "root's HOME directory". And as far as I can tell, no other instances of a "home" directory are documented until FreeBSD 13.2 noted that /nonexistent/ is "a non-existent directory; by convention, it serves as a home directory for special user accounts that need no home directory; see also /var/empty", then FreeBSD 13.3 noting that /home/ is for "user HOME directories. This is a symlink to /usr/home/". By that time the change of location in 14.0 had already happened so presumably when the man pages were being rewritten to reflect that change, it was finally thought fit to document the then current behaviour. man hier
have only /home/ and don't seem to have ever mentioned a /usr/home. In 1979's Version 7 where, according to the Berkeley docs, man hier
was first introduced, "/usr/" is described as a "general-pupose directory, usually a mounted file system" - and of course, no mention of "home". That's the same description of /usr/ used in BSD4.2. And in the final BSD4.4-Lite2 we have /usr/ listed as "contains the majority of the system utilities and files", /home/ as "mount point for the automounter; see amd(8)" /amd/ as "home directories mount point; see amd(8)" and /root/ as "home directory for the super-user".You can see this for yourself in a classic 1982 Bell Labs film (I'm sure you've all watched it) at 13:30 where Brian Kernighan's home directory is atBy the way, in oldest Unix, home directories of each users seems to be placed directly under /usr. This would be because /usr was originally defined for the purpose, but once Unix becomes larger and cannot hold every system-wide things needed in root partition (could be single physical drive available at the era), programs not essential to boot were moved into /usr, so for example /usr/bin, /usr/sbin,... are defined and home directories of each users were moved into newly defined /home.
Later on, increases of non-standard programs required /usr/local to be defined. But I don't know any multi-user OS defaulting user home directories under /usr/local/home, and cannot find examples in Wikipedia.
/usr/bwk
And when Bell Labs started work on Plan 9, that just used /usr instead of /home too. Apparently 386BSD did too - interesting previous discussion here https://forums.freebsd.org/threads/question-about-usr.89402/#post-613901In particular, in our own version of the system, there is a directory "/usr" which contains all user's directories, and which is stored on a relatively large, but slow moving head disk, while the othe files are on the fast but small fixed-head disk.
I don't know if the symlink was dropped at some point and later reintroduced, or always staid there, but systems installed as 13.x-RELEASE had it by default.Not 100% sure, possibly at some point, symlink /home pointing to /usr/home stopped to be created by default (I could be wrong here).
Thanks! So it souldn't be dropped at any time, regardless the direction.I don't know if the symlink was dropped at some point and later reintroduced, or always staid there, but systems installed as 13.x-RELEASE had it by default.