xref: /freebsd/sys/contrib/openzfs/man/man1/zvol_wait.1 (revision 61145dc2b94f12f6a47344fb9aac702321880e43)
1*61145dc2SMartin Matuska.\" SPDX-License-Identifier: CDDL-1.0
216038816SMartin Matuska.\"
316038816SMartin Matuska.\" This file and its contents are supplied under the terms of the
416038816SMartin Matuska.\" Common Development and Distribution License ("CDDL"), version 1.0.
516038816SMartin Matuska.\" You may only use this file in accordance with the terms of version
616038816SMartin Matuska.\" 1.0 of the CDDL.
716038816SMartin Matuska.\"
816038816SMartin Matuska.\" A full copy of the text of the CDDL should have accompanied this
916038816SMartin Matuska.\" source.  A copy of the CDDL is also available via the Internet at
1016038816SMartin Matuska.\" http://www.illumos.org/license/CDDL.
1116038816SMartin Matuska.\"
1216038816SMartin Matuska.Dd May 27, 2021
1316038816SMartin Matuska.Dt ZVOL_WAIT 1
14eda14cbcSMatt Macy.Os
1516038816SMartin Matuska.
16eda14cbcSMatt Macy.Sh NAME
17eda14cbcSMatt Macy.Nm zvol_wait
1816038816SMartin Matuska.Nd wait for ZFS volume links to appear in /dev
19eda14cbcSMatt Macy.Sh SYNOPSIS
20eda14cbcSMatt Macy.Nm
2116038816SMartin Matuska.
22eda14cbcSMatt Macy.Sh DESCRIPTION
2316038816SMartin MatuskaWhen a ZFS pool is imported, the volumes within it will appear as block devices.
2416038816SMartin MatuskaAs they're registered,
2516038816SMartin Matuska.Xr udev 7
2616038816SMartin Matuskaasynchronously creates symlinks under
2716038816SMartin Matuska.Pa /dev/zvol
2816038816SMartin Matuskausing the volumes' names.
29eda14cbcSMatt Macy.Nm
3016038816SMartin Matuskawill wait for all those symlinks to be created before exiting.
3116038816SMartin Matuska.
32eda14cbcSMatt Macy.Sh SEE ALSO
3316038816SMartin Matuska.Xr udev 7
34