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
F56819532: D3446.diff
Mon, Nov 9, 15:13
F56736643: D3446.id8885.diff
Sun, Nov 8, 19:34
F56659622: D3446.diff
Sun, Nov 8, 02:00
F56423417: D3446.id8898.diff
Fri, Nov 6, 01:21
F56102220: D3446.id.diff
Mon, Nov 2, 21:51
F56093052: D3446.id8898.diff
Mon, Nov 2, 19:36
F56059045: D3446.id8885.diff
Mon, Nov 2, 11:12
F55918884: D3446.id.diff
Sun, Nov 1, 12:36
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 Not Applicable
Unit
Tests Not Applicable