Source-Changes archive

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

CVS commit: [netbsd-3] src/sbin/newfs_lfs



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.




Home | Main Index | Thread Index | Old Index