chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0952f6
)
[PATCH] sleep for 2 seconds to give the kernel a chance to actually create the files...
author
greg@kroah.com
<greg@kroah.com>
Thu, 17 Jul 2003 03:18:06 +0000
(20:18 -0700)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 04:01:38 +0000
(21:01 -0700)
udev.c
patch
|
blob
|
history
diff --git
a/udev.c
b/udev.c
index 5aa9b43d43134d1092c38036e526d4079baa99c7..de6b6565f249c8cefd71490e8b4c5446e5fa86bc 100644
(file)
--- 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)