Added notes about installing and kernel modules

Thorsten Behrens 2020-04-19 09:25:08 -04:00 committed by Brian Behlendorf
parent 01d0da995b
commit 4b17c5381d
1 changed files with 8 additions and 1 deletions

@ -89,6 +89,13 @@ make -s -j$(nproc)
make deb #example for Debian/Ubuntu
```
#### Install
You can run `zfs-tests.sh` without installing ZFS, see below. If you have reason to install ZFS after building it, pay attention to how your distribution handles kernel modules.
On Ubuntu, for example, the modules from this repository install in the `extra` kernel module path, which is not in the standard `depmod` search path. Therefore, for the duration of your testing, edit `/etc/depmod.d/ubuntu.conf` and add `extra` to the beginning of the search path.
You may then install using `sudo make install; sudo ldconfig; sudo depmod`. You'd uninstall with `sudo make uninstall; sudo ldconfig; sudo depmod`.
#### Running zloop.sh and zfs-tests.sh
If you wish to run the ZFS Test Suite (ZTS), then `ksh` and a few additional utilities must be installed.