source: client/shared/lib/os-probes/10zvol-test @ 1d1e06d

Last change on this file since 1d1e06d was 2cd8344, checked in by adv <adv@…>, 8 years ago

#796 os-probes librerias de grub con detección de nuevas versiones de sistemas opertativos (p.e win10). usado solo para ogLives antiguos (kernel 3.2)

git-svn-id: https://opengnsys.es/svn/branches/version1.1@5378 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100755
File size: 216 bytes
Line 
1#!/bin/sh
2# Sub-test to exclude ZVOLs
3set -e
4partition="$1"
5
6. /usr/share/os-prober/common.sh
7
8if [ "$(stat -L -c %t "$partition")" = "e6" ] ; then
9        debug "$1 is a ZVOL; skipping"
10        exit 0
11fi
12
13# No ZVOLs found
14exit 1
Note: See TracBrowser for help on using the repository browser.