PERFORCE change 214344 for review

Brooks Davis brooks at FreeBSD.org
Fri Jul 13 20:09:38 UTC 2012


http://p4web.freebsd.org/@@214344?ac=10

Change 214344 by brooks at brooks_ecr_current on 2012/07/13 20:08:39

	Tighten the regular expression that checks for an md /tmp such that
	no /tmp mount and an md / isn't improperly matched.

Affected files ...

.. //depot/projects/ctsrd/beribsd/src/etc/rc.d/tmp#2 edit

Differences ...

==== //depot/projects/ctsrd/beribsd/src/etc/rc.d/tmp#2 (text+ko) ====

@@ -39,7 +39,7 @@
 
 mount_tmpmfs ()
 {
-	if ! /bin/df /tmp | grep -q "^/dev/md[0-9]"; then
+	if ! /bin/df /tmp | grep -q "^/dev/md[0-9].* /tmp"; then
 		mount_md ${tmpsize} /tmp "${tmpmfs_flags}"
 		chmod 01777 /tmp
 	fi


More information about the p4-projects mailing list