xref: /freebsd-src/sys/contrib/openzfs/man/man1/zvol_wait.1 (revision 1603881667360c015f6685131f2f25474fa67a72)
1*16038816SMartin Matuska.\"
2*16038816SMartin Matuska.\" This file and its contents are supplied under the terms of the
3*16038816SMartin Matuska.\" Common Development and Distribution License ("CDDL"), version 1.0.
4*16038816SMartin Matuska.\" You may only use this file in accordance with the terms of version
5*16038816SMartin Matuska.\" 1.0 of the CDDL.
6*16038816SMartin Matuska.\"
7*16038816SMartin Matuska.\" A full copy of the text of the CDDL should have accompanied this
8*16038816SMartin Matuska.\" source.  A copy of the CDDL is also available via the Internet at
9*16038816SMartin Matuska.\" http://www.illumos.org/license/CDDL.
10*16038816SMartin Matuska.\"
11*16038816SMartin Matuska.Dd May 27, 2021
12*16038816SMartin Matuska.Dt ZVOL_WAIT 1
13eda14cbcSMatt Macy.Os
14*16038816SMartin Matuska.
15eda14cbcSMatt Macy.Sh NAME
16eda14cbcSMatt Macy.Nm zvol_wait
17*16038816SMartin Matuska.Nd wait for ZFS volume links to appear in /dev
18eda14cbcSMatt Macy.Sh SYNOPSIS
19eda14cbcSMatt Macy.Nm
20*16038816SMartin Matuska.
21eda14cbcSMatt Macy.Sh DESCRIPTION
22*16038816SMartin MatuskaWhen a ZFS pool is imported, the volumes within it will appear as block devices.
23*16038816SMartin MatuskaAs they're registered,
24*16038816SMartin Matuska.Xr udev 7
25*16038816SMartin Matuskaasynchronously creates symlinks under
26*16038816SMartin Matuska.Pa /dev/zvol
27*16038816SMartin Matuskausing the volumes' names.
28eda14cbcSMatt Macy.Nm
29*16038816SMartin Matuskawill wait for all those symlinks to be created before exiting.
30*16038816SMartin Matuska.
31eda14cbcSMatt Macy.Sh SEE ALSO
32*16038816SMartin Matuska.Xr udev 7
33