Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/etc Pull up revision 1.40:



details:   https://anonhg.NetBSD.org/src/rev/c181caf200c5
branches:  netbsd-1-4
changeset: 469352:c181caf200c5
user:      he <he%NetBSD.org@localhost>
date:      Fri Sep 10 22:15:11 1999 +0000

description:
Pull up revision 1.40:
  Don't try to grab disklabels from CDs.  (perry)

diffstat:

 etc/security |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 5c1bdbc25a34 -r c181caf200c5 etc/security
--- a/etc/security      Fri Sep 10 22:10:52 1999 +0000
+++ b/etc/security      Fri Sep 10 22:15:11 1999 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: security,v 1.37 1999/03/17 19:11:05 wrstuden Exp $
+#      $NetBSD: security,v 1.37.2.1 1999/09/10 22:15:11 he Exp $
 #      from: @(#)security      8.1 (Berkeley) 6/9/93
 #
 
@@ -639,7 +639,7 @@
            egrep -v '\.(backup|current)$' > $LABELS
        xargs rm < $LABELS
 
-       disks=`iostat -x | sed 1d | awk '$1 !~ /^[mf]d/ { print $1; }'`
+       disks=`iostat -x | sed 1d | awk '$1 !~ /^[cfm]d/ { print $1; }'`
        for i in $disks; do
                dlf="/var/backups/disklabel.$i"
                disklabel $i > $dlf 2>/dev/null



Home | Main Index | Thread Index | Old Index