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
F11638996: D3446.diff
Thu, Sep 4, 10:14
F11632874: D3446.diff
Wed, Sep 3, 15:47
F11632873: D3446.id8898.diff
Wed, Sep 3, 15:46
Unknown Object (File)
Wed, Sep 3, 02:37
Unknown Object (File)
Mon, Sep 1, 22:44
Unknown Object (File)
Sat, Aug 30, 01:41
Unknown Object (File)
Thu, Aug 28, 13:45
Unknown Object (File)
Tue, Aug 26, 16:39
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