Subject: PR/33199 CVS commit: [netbsd-3] src/sbin/newfs_lfs
To: None <,,>
From: Geert Hendrickx <>
List: netbsd-bugs
Date: 09/02/2006 20:55:01
The following reply was made to PR bin/33199; it has been noted by GNATS.

From: Geert Hendrickx <>
Subject: PR/33199 CVS commit: [netbsd-3] src/sbin/newfs_lfs
Date: Sat,  2 Sep 2006 20:53:49 +0000 (UTC)

 Module Name:	src
 Committed By:	ghen
 Date:		Sat Sep  2 20:53:49 UTC 2006
 Modified Files:
 	src/sbin/newfs_lfs [netbsd-3]: newfs.c
 Log Message:
 Pull up following revision(s) (requested by jld in ticket #1494):
 	sbin/newfs_lfs/newfs.c: revision 1.19
 When testing seek speed (for the -A option), use sector-aligned offsets
 so the reads don't always fail, and also be more careful not to read off
 the end of the disk.  If a read does fail, error out instead of silently
 leaving the loop early (and possibly dividing by zero seconds), because
 it means our idea of the disk size is wrong, or worse.
 This fixes PR bin/33199.
 To generate a diff of this commit:
 cvs rdiff -r1.15.2.2 -r1.15.2.3 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.