]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add zfs.sh -r flag to reload modules
authorRyan Moeller <ryan@iXsystems.com>
Fri, 13 Aug 2021 20:37:46 +0000 (16:37 -0400)
committerGitHub <noreply@github.com>
Fri, 13 Aug 2021 20:37:46 +0000 (13:37 -0700)
commit6daf036ab5065120888308e8e7505229ebfd4aee
treeb29c92c033babd2eea51cf01a3c32937717a786d
parenta7491f99908637f3f72c1341da7419cbcd585368
Add zfs.sh -r flag to reload modules

zfs.sh already can load and unload, so why not both?

This is convenient when developing changes to the module and you want
to rapidly make some changes, rebuild the module, reload the module,
and test the changes.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #12450
scripts/zfs.sh