Module Name:    src
Committed By:   nakayama
Date:           Sat Feb 14 19:46:55 UTC 2015

Modified Files:
        src/etc: security

Log Message:
Avoid nfs devices correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 src/etc/security

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/security
diff -u src/etc/security:1.118 src/etc/security:1.119
--- src/etc/security:1.118	Sat Dec 13 02:17:35 2014
+++ src/etc/security	Sat Feb 14 19:46:55 2015
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#	$NetBSD: security,v 1.118 2014/12/13 02:17:35 uebayasi Exp $
+#	$NetBSD: security,v 1.119 2015/02/14 19:46:55 nakayama Exp $
 #	from: @(#)security	8.1 (Berkeley) 6/9/93
 #
 
@@ -915,7 +915,7 @@ if checkyesno check_disklabels; then
 		# nfs and "device" (the header of iostat)
 	for i in $disks; do
 		case $i in
-		[cfm]d[0-9]*|dk[0-9]*|st[0-9]*|nfs|device)
+		[cfm]d[0-9]*|dk[0-9]*|st[0-9]*|nfs[0-9]*|device)
 			;;
 		*)
 			if disklabel $i > /dev/null 1>&2; then

Reply via email to