Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jul 2007 21:02:52 GMT
From:      Andrew Pantyukhin <sat@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 124055 for review
Message-ID:  <200707242102.l6OL2qRT099142@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=124055

Change 124055 by sat@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707242102.l6OL2qRT099142>