Subject: PR/33199 CVS commit: src/sbin/newfs_lfs
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Jed Davis <jld@netbsd.org>
List: netbsd-bugs
Date: 04/23/2006 08:00:03
The following reply was made to PR bin/33199; it has been noted by GNATS.

From: Jed Davis <jld@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/33199 CVS commit: src/sbin/newfs_lfs
Date: Sun, 23 Apr 2006 07:56:58 +0000 (UTC)

 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.