Page MenuHomeFreeBSD

bsdinstall(8): partedit crashes when modifying a zfs partition's mountpoint
Needs ReviewPublic

Authored by will_worrbase.com on Mar 3 2018, 8:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 6, 1:00 PM
Unknown Object (File)
Sep 8 2025, 9:15 PM
Unknown Object (File)
Sep 7 2025, 2:17 PM
Unknown Object (File)
Aug 31 2025, 5:22 AM
Unknown Object (File)
Aug 12 2025, 3:50 AM
Unknown Object (File)
Jul 22 2025, 6:54 AM
Unknown Object (File)
Jul 22 2025, 5:36 AM
Unknown Object (File)
Jul 14 2025, 7:57 PM
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

bsdinstall(8): partedit crashes when modifying a zfs partition's
mountpoint

When modifying a ZFS partition to change the mountpoint (or pool name, really),
zpool_name isn't set, causing partedit to crash.

Also removed a useless NULL check.

Test Plan

Tested by modifying an existing ZFS mountpoint in bsdinstall(8)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15352
Build 15407: arc lint + arc unit