xref: /freebsd/sys/contrib/openzfs/scripts/zfs_prepare_disk (revision fe75646a0234a261c0013bf1840fdac4acaf0cec)
1#!/bin/sh
2#
3# This is an optional helper script that is automatically called by libzfs
4# before a disk is about to be added into the pool.  It can be modified by
5# the user to run whatever commands are necessary to prepare a disk for
6# inclusion into the pool.  For example, users can add lines to this
7# script to do things like update the drive's firmware or check the drive's
8# health.  The script is optional and can be removed if it is not needed.
9#
10# See the zfs_prepare_disk(8) man page for details.
11#
12# Example:
13#
14# echo "Prepare disk $VDEV_PATH ($VDEV_UPATH) for $VDEV_PREPARE in $POOL_NAME"
15#
16
17exit 0
18