Source-Changes-HG archive

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

[src/trunk]: src/tests/sbin/fsck_ffs Simplify: avoid use of the explicit raw ...



details:   https://anonhg.NetBSD.org/src/rev/6a6b67a93823
branches:  trunk
changeset: 372458:6a6b67a93823
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Nov 30 07:20:36 2022 +0000

description:
Simplify: avoid use of the explicit raw partition, MAKDEV does
all the needed magic for us already. Pointed out by kre

diffstat:

 tests/sbin/fsck_ffs/t_extattr.sh |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r f6163397e7b8 -r 6a6b67a93823 tests/sbin/fsck_ffs/t_extattr.sh
--- a/tests/sbin/fsck_ffs/t_extattr.sh  Wed Nov 30 06:20:17 2022 +0000
+++ b/tests/sbin/fsck_ffs/t_extattr.sh  Wed Nov 30 07:20:36 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_extattr.sh,v 1.3 2022/11/29 20:06:24 martin Exp $
+# $NetBSD: t_extattr.sh,v 1.4 2022/11/30 07:20:36 martin Exp $
 #
 #  Copyright (c) 2021 The NetBSD Foundation, Inc.
 #  All rights reserved.
@@ -25,10 +25,9 @@
 #  POSSIBILITY OF SUCH DAMAGE.
 #
 
-rawpart=$( sysctl -n kern.rawpartition | tr '01234' 'abcde' )
 VND=vnd0
-BDEV=/dev/${VND}${rawpart}
-CDEV=/dev/r${VND}${rawpart}
+BDEV=/dev/${VND}
+CDEV=/dev/r${VND}
 IMG=fsimage
 MNT=mnt
 



Home | Main Index | Thread Index | Old Index