Subject: CVS commit: src/sbin/newfs_lfs
To: None <source-changes@NetBSD.org>
From: Jed Davis <jld@netbsd.org>
List: source-changes
Date: 04/23/2006 07:56:58
Module Name:	src
Committed By:	jld
Date:		Sun Apr 23 07:56:58 UTC 2006

Modified Files:
	src/sbin/newfs_lfs: newfs.c

Log Message:
When testing seek speed (for the -A option), be careful not to read past
the end of the disk -- and error out if the read does fail, because
that means our idea of the length is wrong, or worse.  Also, read at
block-aligned offsets.

This fixes PR bin/33199.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 src/sbin/newfs_lfs/newfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.