diff options
| author | veego <veego@NetBSD.org> | 2006-04-17 07:38:53 +0000 |
|---|---|---|
| committer | veego <veego@NetBSD.org> | 2006-04-17 07:38:53 +0000 |
| commit | f43a65b85efe4360f45b3f134321577a783939f5 (patch) | |
| tree | 8ed35ad85b09fa49af1ace186fada3cb10f5b804 /etc/security | |
| parent | c0d9bc63a5070e8f7c686efbbf960cc9876c0610 (diff) | |
Don't try to backup a 'nfs' disklabel, which will happen because of the
recent iostat changes.
Patch supplied in pr# 33274 by Geoff C. Wing.
Diffstat (limited to 'etc/security')
| -rw-r--r-- | etc/security | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/security b/etc/security index 6b6d9d525d0..b834d12d37b 100644 --- a/etc/security +++ b/etc/security @@ -1,6 +1,6 @@ #!/bin/sh - # -# $NetBSD: security,v 1.96 2006/01/29 23:17:24 rpaulo Exp $ +# $NetBSD: security,v 1.97 2006/04/17 07:38:53 veego Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # @@ -808,7 +808,7 @@ if checkyesno check_disklabels; then xargs rm < $LABELS # generate disklabels of all disks excluding: cd fd md st - disks=`iostat -x | awk 'NR > 1 && $1 !~ /^[cfm]d|st/ { print $1; }'` + disks=`iostat -x | awk 'NR > 1 && $1 !~ /^[cfm]d|st|nfs/ { print $1; }'` for i in $disks; do disklabel $i > "$work_dir/disklabel.$i" 2>/dev/null done |
