xref: /freebsd/sys/contrib/openzfs/scripts/zfs_prepare_disk (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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