diff options
author | greg@kroah.com <greg@kroah.com> | 2003-07-16 20:18:06 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:01:38 -0700 |
commit | af815f882dc196b1357f5be81cb00c8fe9c60670 (patch) | |
tree | 7bc3ccb0ef810e925223a4cff12275ab87d4d3f0 | |
parent | f0952f66e634c9da1639662079e74e60da4027ef (diff) |
[PATCH] sleep for 2 seconds to give the kernel a chance to actually create the files we need.
-rw-r--r-- | udev.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |