This file is indexed.

/usr/lib/os-probes/10zvol-test is in zfsutils-linux 0.6.5.6-0ubuntu8.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
#!/bin/sh
# Sub-test to exclude ZVOLs
set -e
partition="$1"

. /usr/share/os-prober/common.sh

if [ "$(stat -L -c %t "$partition")" = "e6" ] ; then
	debug "$1 is a ZVOL; skipping"
	exit 0
fi

# No ZVOLs found
exit 1