Module Name: src Committed By: martin Date: Wed Nov 30 07:20:36 UTC 2022
Modified Files: src/tests/sbin/fsck_ffs: t_extattr.sh Log Message: Simplify: avoid use of the explicit raw partition, MAKDEV does all the needed magic for us already. Pointed out by kre To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/sbin/fsck_ffs/t_extattr.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/sbin/fsck_ffs/t_extattr.sh diff -u src/tests/sbin/fsck_ffs/t_extattr.sh:1.3 src/tests/sbin/fsck_ffs/t_extattr.sh:1.4 --- src/tests/sbin/fsck_ffs/t_extattr.sh:1.3 Tue Nov 29 20:06:24 2022 +++ src/tests/sbin/fsck_ffs/t_extattr.sh Wed Nov 30 07:20:36 2022 @@ -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