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