Add warning for external consumers of dmu_tx_callback_register
[zfs.git] / scripts / zfs_prepare_disk
blob02aa9f8a77281c53909309eaddf53e1b88224659
1 #!/bin/sh
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.
10 # See the zfs_prepare_disk(8) man page for details.
12 # Example:
14 # echo "Prepare disk $VDEV_PATH ($VDEV_UPATH) for $VDEV_PREPARE in $POOL_NAME"
17 exit 0