Page MenuHomeFreeBSD

bsdinstall partedit: Apply changes from scripted installs
ClosedPublic

Authored by jhb on Oct 16 2023, 9:23 PM.
Tags
None
Referenced Files
F143594135: D42236.id54425.diff
Sat, Jan 31, 12:32 AM
Unknown Object (File)
Fri, Jan 2, 12:14 PM
Unknown Object (File)
Jan 1 2026, 6:18 AM
Unknown Object (File)
Dec 30 2025, 9:23 PM
Unknown Object (File)
Dec 28 2025, 6:36 PM
Unknown Object (File)
Dec 11 2025, 8:08 AM
Unknown Object (File)
Dec 11 2025, 3:22 AM
Unknown Object (File)
Dec 4 2025, 11:18 PM
Subscribers

Details

Summary

I got a check inverted in a previous cleanup commit and as a result
partedit was only applying GEOM changes (and generating an /etc/fstab)
if it got an error reading the current GEOM mesh. Instead, it needed
to do those actions if it succeeded in reading the mesh.

The lack of /etc/fstab meant that bsdinstall mount didn't mount
anything in a scripted install.

PR: 273723
Reported by: Andrey Fesenko <andrey@bsdnir.info>
Reported by: Michal Nowak <mnowak@startmail.com>
Fixes: 230990991965 bsdinstall: Handle errors from geom_gettree.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable