Page MenuHomeDevCentral

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

Authored by dereckson on Sep 16 2024, 23:38.
Tags
None
Referenced Files
F23735926: D3446.id8885.diff
Fri, Feb 6, 08:01
F23715213: D3446.id8885.diff
Fri, Feb 6, 04:57
F23711676: D3446.id8885.diff
Fri, Feb 6, 04:38
F23684884: D3446.id8885.diff
Fri, Feb 6, 01:38
F23667786: D3446.id8885.diff
Thu, Feb 5, 23:44
F23639998: D3446.id8885.diff
Thu, Feb 5, 20:17
F23613261: D3446.diff
Thu, Feb 5, 16:57
Unknown Object (File)
Thu, Feb 5, 03:18
Subscribers

Details

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

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
usr-home
Build Status
Buildable 5489
Build 5770: arc lint + arc unit