]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Teach /etc/rc.d/growfs how to handle systems running ZFS.
authorcperciva <cperciva@FreeBSD.org>
Fri, 8 Feb 2019 19:19:31 +0000 (19:19 +0000)
committercperciva <cperciva@FreeBSD.org>
Fri, 8 Feb 2019 19:19:31 +0000 (19:19 +0000)
commit67d22017865a805ac7413b8fd8bbf9d1c743ee47
tree0f30d5b45856e7a40e4829f03c85df45dde898c7
parent8eb3289c7f714ad22aac30bb78bde55494e3a767
Teach /etc/rc.d/growfs how to handle systems running ZFS.

There are many cases which this code does not handle (e.g. ZFS mirrors)
but the code can handle the single-disk case -- so it's enough to take
care of the "disk image which gets booted into a VM with a larger than
expected disk" case for which this firstboot script was created.

MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D19095
libexec/rc/rc.d/growfs