github.com/containers/libpod@v1.9.4-0.20220419124438-4284fd425507/hack/btrfs_installed_tag.sh (about)

     1  #!/bin/bash
     2  cc -E - > /dev/null 2> /dev/null << EOF
     3  #include <btrfs/ioctl.h>
     4  EOF
     5  if test $? -ne 0 ; then
     6  	echo exclude_graphdriver_btrfs
     7  fi