From 5e602d3dabb5076477059cc36336b79d7e73c639 Mon Sep 17 00:00:00 2001 From: Erik van der Kouwe Date: Thu, 1 Jul 2010 06:14:06 +0000 Subject: [PATCH] Put rs.single on initial ramdisk to prevent potential race when readclock terminates early --- drivers/ramdisk/Makefile | 5 ++++- drivers/ramdisk/proto | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/ramdisk/Makefile b/drivers/ramdisk/Makefile index cfbba1d3f..870111758 100644 --- a/drivers/ramdisk/Makefile +++ b/drivers/ramdisk/Makefile @@ -2,7 +2,7 @@ PROGRAMS=at_wini bios_wini cdprobe dev2name floppy loadramdisk newroot \ pci sh service sysenv mfs -EXTRA=system.conf passwd +EXTRA=system.conf passwd rs.single CPPFLAGS+= -I${MINIXSRCDIR}/servers MAKEDEV=/usr/bin/MAKEDEV @@ -103,6 +103,9 @@ system.conf: ../../etc/system.conf passwd: ../../etc/passwd install -s ../../etc/$@ $@ +rs.single: ../../etc/rs.single + install -s ../../etc/$@ $@ + proto.gen: $(MAKEDEV) proto.sh proto sh -e proto.sh >proto.gen diff --git a/drivers/ramdisk/proto b/drivers/ramdisk/proto index 0bf9d442f..9d3001f3e 100644 --- a/drivers/ramdisk/proto +++ b/drivers/ramdisk/proto @@ -25,5 +25,6 @@ d--755 0 0 mtab ---644 0 0 mtab passwd ---644 0 0 passwd rc ---755 0 0 rc + rs.single ---755 0 0 rs.single $ $ -- 2.44.0