Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc We already had logic not to try to grab the disklabels o...
details: https://anonhg.NetBSD.org/src/rev/ae0ffbe5d5ef
branches: trunk
changeset: 476092:ae0ffbe5d5ef
user: perry <perry%NetBSD.org@localhost>
date: Sun Sep 05 15:11:42 1999 +0000
description:
We already had logic not to try to grab the disklabels of md's and
fd's -- add cd's to the list.
diffstat:
etc/security | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r ef89ebe13906 -r ae0ffbe5d5ef etc/security
--- a/etc/security Sun Sep 05 14:28:26 1999 +0000
+++ b/etc/security Sun Sep 05 15:11:42 1999 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: security,v 1.39 1999/07/22 00:47:50 hubertf Exp $
+# $NetBSD: security,v 1.40 1999/09/05 15:11:42 perry 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