diff --git a/tools/vgmknodes.c b/tools/vgmknodes.c index d37e62f8d..d1e785ba6 100644 --- a/tools/vgmknodes.c +++ b/tools/vgmknodes.c @@ -34,8 +34,10 @@ static int _vgmknodes_single(struct cmd_context *cmd, struct logical_volume *lv, int vgmknodes(struct cmd_context *cmd, int argc, char **argv) { - if (!lv_mknodes(cmd, NULL)) - return_ECMD_FAILED; + if (!dm_udev_get_sync_support()) { + if (!lv_mknodes(cmd, NULL)) + return_ECMD_FAILED; + } return process_each_lv(cmd, argc, argv, NULL, NULL, LCK_VG_READ, NULL, NULL, &_vgmknodes_single); }