Bug 17640

Summary: lseek();read() -> pread() in dump and fsck
Product: Base System Reporter: Dan Nelson (old address) <dnelson>
Component: binAssignee: Mike Heffner <mikeh>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Dan Nelson (old address) 2000-03-28 17:10:00 UTC
Simple replacement of an lseek()/read() combo with a single pread(). 
Halves the number of syscalls.

Fix: I've been running the following code for a couple months, and both dump
and fsck work fine.
Comment 1 Mike Heffner freebsd_committer freebsd_triage 2001-06-16 16:13:40 UTC
Responsible Changed
From-To: freebsd-bugs->mikeh

I'll commit the change to dump after I take a look at it. It appears that 
the fsck part doesn't apply anymore.
Comment 2 Mike Heffner freebsd_committer freebsd_triage 2001-07-01 06:05:15 UTC
State Changed
From-To: open->analyzed

Committed, thanks! (MFC in 2 weeks)
Comment 3 Mike Heffner freebsd_committer freebsd_triage 2001-07-14 14:51:44 UTC
State Changed
From-To: analyzed->closed

Fix MFC'd.