Skip to content
Permalink
Browse files

Brian's feedback

  • Loading branch information...
pzakha committed Jul 5, 2019
1 parent c32b0fd commit 663bba6210b0942ae3b857d52a1ab7d68381736d
@@ -5,4 +5,4 @@ if USING_PYTHON
SUBDIRS += arcstat arc_summary dbufstat
endif

SUBDIRS += mount_zfs zed zvol_id
SUBDIRS += mount_zfs zed zvol_id zfs_volume_wait
@@ -0,0 +1 @@
dist_bin_SCRIPTS = zfs_volume_wait
File renamed without changes.
@@ -123,6 +123,7 @@ AC_CONFIG_FILES([
cmd/zed/zed.d/Makefile
cmd/raidz_test/Makefile
cmd/zgenhostid/Makefile
cmd/zfs_volume_wait/Makefile
contrib/Makefile
contrib/bash_completion.d/Makefile
contrib/dracut/Makefile
@@ -7,8 +7,8 @@ systemdunit_DATA = \
zfs-import-scan.service \
zfs-mount.service \
zfs-share.service \
zfs-import.target \
zfs-volume.service \
zfs-import.target \
zfs.target

EXTRA_DIST = \
@@ -7,7 +7,7 @@ After=zfs-import.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/lib/zfs-linux/zvol-wait
ExecStart=@bindir@/zfs_volume_wait

[Install]
WantedBy=zfs.target
@@ -1,4 +1,4 @@
dist_man_MANS = zhack.1 ztest.1 raidz_test.1
dist_man_MANS = zhack.1 ztest.1 raidz_test.1 zfs_volume_wait.1
EXTRA_DIST = cstyle.1

install-data-local:
@@ -0,0 +1,19 @@
.Dd July 5, 2019
.Dt ZFS_VOLUME_WAIT 1 SMM
.Os Linux
.Sh NAME
.Nm zfs_volume_wait
.Nd Wait for ZFS volume links in
.Em /dev
to be created.
.Sh SYNOPSIS
.Nm
.Sh DESCRIPTION
When a ZFS pool is imported, ZFS will register each ZFS volume
(zvol) as a disk device with the system. As the disks are registered,
.Xr \fBudev 7\fR
will asynchronously create symlinks under /dev using the zvol's name.
.Nm
will wait for all those symlinks to be created before returning.
.Sh SEE ALSO
.Xr \fBudev 7\fR

0 comments on commit 663bba6

Please sign in to comment.
You can’t perform that action at this time.