From: Erik van der Kouwe Date: Thu, 1 Jul 2010 06:14:06 +0000 (+0000) Subject: Put rs.single on initial ramdisk to prevent potential race when readclock terminates... X-Git-Tag: v3.1.8~309 X-Git-Url: http://zhaoyanbai.com/repos/doc/roff.7.html?a=commitdiff_plain;h=5e602d3dabb5076477059cc36336b79d7e73c639;p=minix.git Put rs.single on initial ramdisk to prevent potential race when readclock terminates early --- 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 $ $