Updated Building ZFS (markdown)

Brian Behlendorf 2016-05-11 09:02:29 -07:00
parent 6f15a3bd9f
commit 0ab5e6c70a
1 changed files with 5 additions and 3 deletions

@ -61,8 +61,8 @@ sh autogen.sh
make -s -j$(nproc) make -s -j$(nproc)
``` ```
* **tip:** `--with-linux=PATH` and `--with-linux-obj=PATH` can be passed to configure to specify a kernel installed in a non-default location. This option is also supported when building ZFS. **tip:** `--with-linux=PATH` and `--with-linux-obj=PATH` can be passed to configure to specify a kernel installed in a non-default location. This option is also supported when building ZFS.
* **tip:** `--enable-debug` can be set to enable all ASSERTs and additional correctness tests. This option is also supported when building ZFS. **tip:** `--enable-debug` can be set to enable all ASSERTs and additional correctness tests. This option is also supported when building ZFS.
Next move to the ZFS source tree and build it the same way. Next move to the ZFS source tree and build it the same way.
@ -74,7 +74,7 @@ sh autogen.sh
make -s -j$(nproc) make -s -j$(nproc)
``` ```
* **tip:** `--with-spl=PATH` and `--with-spl-obj=PATH` can be passed to configure if it is unable to locate the SPL. **tip:** `--with-spl=PATH` and `--with-spl-obj=PATH` can be passed to configure if it is unable to locate the SPL.
#### Run the ZFS Test Suite #### Run the ZFS Test Suite
@ -98,6 +98,8 @@ sudo ./scripts/zfs.sh
./scripts/zfs-tests.sh -vx ./scripts/zfs-tests.sh -vx
``` ```
**tip:** The **delegate** tests will be skipped unless group read permission is set on the zfs directory and its parents.
[zol-org]: https://github.com/zfsonlinux/ [zol-org]: https://github.com/zfsonlinux/
[spl-repo]: https://github.com/zfsonlinux/spl [spl-repo]: https://github.com/zfsonlinux/spl
[zfs-repo]: https://github.com/zfsonlinux/zfs [zfs-repo]: https://github.com/zfsonlinux/zfs