HomeDevCentral

Switch from /usr/home to /home as default home directory on FreeBSD

Description

Switch from /usr/home to /home as default home directory on FreeBSD

Summary:
Historically, FreeBSD has created home directories under /usr/home,
with a symlink from /home to /usr/home. That choice was motivated
when an UFS partition was divided into labels, with / relatively
small, and /usr larger. This is less relevant with one big partition.

This change acknowledges that change, and fixes an issue when creating
ZFS datasets for home directories: on new FreeBSD 14 installations,
to create <pool>/usr/home/<username> dataset would fail, as <pool>/usr/home
does not exist.

References:

Test Plan: Tested on new WindRiver installation

Reviewers: aceppaluni, DorianWinty

Reviewed By: DorianWinty

Subscribers: DorianWinty

Maniphest Tasks: T2017

Differential Revision: https://devcentral.nasqueron.org/D3446

Details

Provenance
derecksonAuthored on Sep 16 2024, 23:30
derecksonPushed on Sep 17 2024, 20:31
Reviewer
DorianWinty
Differential Revision
D3446: Switch from /usr/home to /home as default home directory on FreeBSD
Parents
rOPS8677104a41a2: Ensure /usr/ports is a Git repository on FreeBSD
Branches
Unknown
Tags
Unknown
Tasks
T2017: Install WindRiver replacement server