]> git.proxmox.com Git - zfsonlinux.git/blob - zfs-debian-pve/tree/zfsutils/usr/lib/os-probes/10zvol-test
add debian packaging files for zfs
[zfsonlinux.git] / zfs-debian-pve / tree / zfsutils / usr / lib / os-probes / 10zvol-test
1 #!/bin/sh
2 # Sub-test to exclude ZVOLs
3 set -e
4 partition="$1"
5
6 . /usr/share/os-prober/common.sh
7
8 if [ "$(stat -L -c %t "$partition")" = "e6" ] ; then
9 debug "$1 is a ZVOL; skipping"
10 exit 0
11 fi
12
13 # No ZVOLs found
14 exit 1