File: runsystem-race

package info (click to toggle)
hurd 1%3A0.9.git20251029-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 37,152 kB
  • sloc: ansic: 539,358; sh: 5,143; asm: 2,998; makefile: 2,303; perl: 589; pascal: 484; awk: 157
file content (18 lines) | stat: -rw-r--r-- 437 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FIXME: is this still needed?

---
 daemons/runsystem.sh |    3 +++
 1 file changed, 3 insertions(+)

--- a/daemons/runsystem.sh
+++ b/daemons/runsystem.sh
@@ -118,6 +118,9 @@ esac
 esac
 
 # This is necessary to make stat / return the correct device ids.
+# Work around a race condition (probably in the root translator).
+for i in `seq 1 100000` ; do : ; done
+
 fsysopts / --update --readonly
 
 # Finally, start the actual SysV init.