Fixed bsdinstall location of vfs.zfs.min_auto_ashift
ClosedPublic

Authored by smh on Jun 20 2017, 1:29 AM.

Details

Summary

vfs.zfs.min_auto_ashift is a sysctl only not a tunable so updated bsdinstall to use the correct location /etc/sysctl.conf instead of /boot/loader.conf

Test Plan

Perform a ZFS install with bsdinstall with Force 4K sectors enabled and ensure that the installed system has vfs.zfs.min_auto_ashift=12 in /etc/sysctl.conf.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
smh created this revision.Jun 20 2017, 1:29 AM
smh retitled this revision from Fixed bsdinstall location of vfs.zfs.min_auto_ashift vfs.zfs.min_auto_ashift is a sysctl only not a tunable so updated bsdinstall to use the correct location /etc/sysctl.conf instead of /boot/loader.conf to Fixed bsdinstall location of vfs.zfs.min_auto_ashift.Jun 20 2017, 1:30 AM
smh edited the summary of this revision. (Show Details)
smh added a reviewer: allanjude.
allanjude accepted this revision.Jun 20 2017, 2:12 AM

This is what I should have done, but I was trying to avoid merge conflicts with stable/11

This revision is now accepted and ready to land.Jun 20 2017, 2:12 AM
This revision was automatically updated to reflect the committed changes.