Source-Changes archive

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

CVS commit: src/sbin/newfs_lfs



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.




Home | Main Index | Thread Index | Old Index