From: Ben Gras Date: Mon, 27 Jun 2005 16:31:27 +0000 (+0000) Subject: Fixed bug that caused /dev/null to be created as file before being created X-Git-Tag: v3.1.0~690 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/invmod.png?a=commitdiff_plain;h=db2d114d06b0120e91524af15e2ecef22d2ab901;p=minix.git Fixed bug that caused /dev/null to be created as file before being created as special file --- diff --git a/etc/Makefile b/etc/Makefile index 1f0edb7bf..2b8acf9c9 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -18,6 +18,7 @@ install:: sh mtree.sh mtree/minix.tree @for f in $(FILES3); do if [ -f $(USRETC)/$$f ]; then :; else cp usr/$$f $(USRETC); chmod 755 $(USRETC)/$$f; fi; done @echo "Making devices.." - cd /dev && sh /usr/src/commands/scripts/MAKEDEV.sh std 2>/dev/null + cd /dev && sh /usr/src/commands/scripts/MAKEDEV.sh null + cd /dev && sh /usr/src/commands/scripts/MAKEDEV.sh std 2>/dev/null @echo "Making user homedirs.." for u in bin ast root; do (cd ast && tar cf - .[a-z]* ) | (cd ~$$u && tar xf - ); chown -R $$u ~$$u; done