Skip to content

Instantly share code, notes, and snippets.

@brettinternet
Created January 21, 2024 07:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brettinternet/e21d4880846e236c4bae2d6af475fa14 to your computer and use it in GitHub Desktop.
Save brettinternet/e21d4880846e236c4bae2d6af475fa14 to your computer and use it in GitHub Desktop.
Get the major/minor versions of the linux kernel that are supported by ZFS
#!/bin/sh
curl -sS 'https://raw.githubusercontent.com/openzfs/zfs/master/META' | awk '$1 == "Linux-Maximum:" { print $2; exit }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment