#!/usr/bin/bash
#
# Copyright (c) 2024, 2025, Oracle and/or its affiliates.
#
# List disks that match the specified pattern
#

# Load configuration
. oracleasm-Xshlib
check_oracleasm_config

DISCOVER=/usr/sbin/oracleasm-discover

if [[ ! -x ${DISCOVER} ]]; then
	echo "${DISCOVER} not found. Please install the oracleasmlib package."
	exit 1
else
	exec ${DISCOVER} $@
fi
