Bug 204550 - `hier(7)' neither mentions /home nor /usr/home
Summary: `hier(7)' neither mentions /home nor /usr/home
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-14 21:16 UTC by florian.ermisch
Modified: 2024-03-07 10:25 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description florian.ermisch 2015-11-14 21:16:07 UTC
A few days ago I implied not everything unixy stores 
the home directories in /home oh github [0]. Then I 
wondered why I have seen both /home and /usr/home on 
FreeBSD systems and took a look into `hier(7)'

The only $HOME mentioned in the manpage is /root,
no /home or /usr/home. The most useful information
I found is a mailinglist thread discussing the 
difference [1].
From what I've understood /home is/was used as a 
mount point when there's a separate partition for 
the users' home directories. When there's no such 
partition it's symlink to /usr/home assuming /usr
has it's own partition thus the users' home 
directories won't clutter the root filesystem.

I'm not 100% sure that's correct. A recent 10.2
installation on ZFS created a separate filesystem 
for the home directories but it's mounted under 
/usr/home and /home is a symlink pointing there.

PS: Affects only those people who actually read
    `hier(7)' ;)

[0] https://github.com/saltstack-formulas/users-formula/pull/100#issuecomment-156350893
[1] http://freebsd.1045724.n5.nabble.com/usr-home-vs-home-td5012063.html
Comment 1 Alexander Ziaee 2023-08-31 20:51:54 UTC
Hi,

I have proposed a pull which fixes this:

[0] https://github.com/freebsd/freebsd-src/pull/831

Thanks,
Alex
Comment 2 Alexander Ziaee 2024-03-07 01:40:30 UTC
The pull fixing this has been merged into FreeBSD 15-CURRENT and this issue is resolved.