ZFS: Difference between revisions
Carschandler (talk | contribs) Tags: Mobile edit Mobile web edit |
Carschandler (talk | contribs) Tags: Mobile edit Mobile web edit |
||
Line 12: | Line 12: | ||
You can pin to a newer kernel version explicitly, but note that this version may be dropped by upstream and in <code>nixpkgs</code> prior to zfs supporting the next version. See [[Linux kernel]] for more information, including which kernel versions <code>nixpkgs</code> provides. | You can pin to a newer kernel version explicitly, but note that this version may be dropped by upstream and in <code>nixpkgs</code> prior to zfs supporting the next version. See [[Linux kernel]] for more information, including which kernel versions <code>nixpkgs</code> provides. | ||
Some basic examples of pinning the kernel: | |||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
Line 21: | Line 23: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
The following snippet will configure the latest compatible kernel. | |||
Note that this can over time jump back to old kernel versions because non-lts kernel version | Note that this can over time jump back to old kernel versions because non-lts kernel version | ||
get removed over time and their newer replacements might be not supported by zfs yet. | get removed over time and their newer replacements might be not supported by zfs yet. |