PERFORCE change 124055 for review

Andrew Pantyukhin sat at FreeBSD.org
Tue Jul 24 21:02:53 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=124055

Change 124055 by sat at sat_amilo on 2007/07/24 21:02:31

	- Work around a strange bug with mount -t nullfs. See
	  the comment for more.

Affected files ...

.. //depot/projects/soc2006/gabor_destdir/Mk/bsd.commands.mk#7 edit

Differences ...

==== //depot/projects/soc2006/gabor_destdir/Mk/bsd.commands.mk#7 (text+ko) ====

@@ -57,7 +57,10 @@
 MKTEMP?=	/usr/bin/mktemp
 MOUNT?=		/sbin/mount
 MOUNT_DEVFS?=	${MOUNT} -t devfs devfs
-MOUNT_NULLFS?=	${MOUNT} -t nullfs
+# XXX: this is a work-around for an obscure bug where
+# mount -t nullfs returns zero status on errors whithin
+# a make target
+MOUNT_NULLFS?=	/sbin/mount_nullfs
 MV?=		/bin/mv
 OBJCOPY?=	/usr/bin/objcopy
 OBJDUMP?=	/usr/bin/objdump


More information about the p4-projects mailing list