]> git.proxmox.com Git - mirror_spl-debian.git/blame - README.markdown
Imported Upstream version 0.6.3+git20140731
[mirror_spl-debian.git] / README.markdown
CommitLineData
33a20369
LG
1The Solaris Porting Layer (SPL) is a Linux kernel module which provides
2many of the Solaris kernel APIs. This shim layer makes it possible to
3run Solaris kernel code in the Linux kernel with relatively minimal
4modification. This can be particularly useful when you want to track
5upstream Solaris development closely and do not want the overhead of
6maintaining a large patch which converts Solaris primitives to Linux
7primitives.
8
9To build packages for your distribution:
10
11 $ ./configure
12 $ make pkg
13
14If you are building directly from the git tree and not an officially
15released tarball you will need to generate the configure script.
16This can be done by executing the autogen.sh script after installing
17the GNU autotools for your distribution.
18
19To copy the kernel code inside your kernel source tree for builtin
20compilation:
21
22 $ ./configure --enable-linux-builtin --with-linux=/usr/src/linux-...
23 $ ./copy-builtin /usr/src/linux-...
24
25The SPL comes with an automated test suite called SPLAT. The test suite
26is implemented in two parts. There is a kernel module which contains
27the tests and a user space utility which controls which tests are run.
28To run the full test suite:
29
30 $ sudo insmod ./module/splat/splat.ko
31 $ sudo ./cmd/splat --all
32
33Full documentation for building, configuring, testing, and using the
34SPL can be found at: <http://zfsonlinux.org>