2021-05-27 00:46:40 +00:00
|
|
|
.\"
|
|
|
|
.\" This file and its contents are supplied under the terms of the
|
|
|
|
.\" Common Development and Distribution License ("CDDL"), version 1.0.
|
|
|
|
.\" You may only use this file in accordance with the terms of version
|
|
|
|
.\" 1.0 of the CDDL.
|
|
|
|
.\"
|
|
|
|
.\" A full copy of the text of the CDDL should have accompanied this
|
|
|
|
.\" source. A copy of the CDDL is also available via the Internet at
|
|
|
|
.\" http://www.illumos.org/license/CDDL.
|
|
|
|
.\"
|
|
|
|
.Dd May 27, 2021
|
|
|
|
.Dt ZVOL_WAIT 1
|
2020-08-21 18:55:47 +00:00
|
|
|
.Os
|
2021-05-27 00:46:40 +00:00
|
|
|
.
|
2019-07-17 22:33:05 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm zvol_wait
|
2021-05-27 00:46:40 +00:00
|
|
|
.Nd wait for ZFS volume links to appear in /dev
|
2019-07-17 22:33:05 +00:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
2021-05-27 00:46:40 +00:00
|
|
|
.
|
2019-07-17 22:33:05 +00:00
|
|
|
.Sh DESCRIPTION
|
2021-05-27 00:46:40 +00:00
|
|
|
When a ZFS pool is imported, the volumes within it will appear as block devices.
|
|
|
|
As they're registered,
|
|
|
|
.Xr udev 7
|
|
|
|
asynchronously creates symlinks under
|
|
|
|
.Pa /dev/zvol
|
|
|
|
using the volumes' names.
|
2019-07-17 22:33:05 +00:00
|
|
|
.Nm
|
2021-05-27 00:46:40 +00:00
|
|
|
will wait for all those symlinks to be created before exiting.
|
|
|
|
.
|
2019-07-17 22:33:05 +00:00
|
|
|
.Sh SEE ALSO
|
2021-05-27 00:46:40 +00:00
|
|
|
.Xr udev 7
|