From af815f882dc196b1357f5be81cb00c8fe9c60670 Mon Sep 17 00:00:00 2001 From: "greg@kroah.com" Date: Wed, 16 Jul 2003 20:18:06 -0700 Subject: [PATCH] [PATCH] sleep for 2 seconds to give the kernel a chance to actually create the files we need. --- udev.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/udev.c b/udev.c index 5aa9b43d..de6b6565 100644 --- a/udev.c +++ b/udev.c @@ -262,6 +262,11 @@ int main(int argc, char *argv[]) goto exit; } + /* sleep for a second or two to give the kernel a chance to + * create the dev file + */ + sleep(2); + /* for now, the block layer is the only place where block devices are */ subsystem = argv[1]; if (strcmp(subsystem, "block") == 0) -- 2.39.5