Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2000 17:44:43 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        freebsd-alpha@freebsd.org
Subject:   can read return MORE than you asked for?
Message-ID:  <14819.36145.726782.115049@grasshopper.cs.duke.edu>

next in thread | raw e-mail | index | archive | help


When looking into the "swapinfo:cannot read blmeta_t" problem, I
discovered that reading /dev/kmem seems to be somewhat broken:

<..>
lseek(4,0xfffffe00006b8428,-3399988123389603632) = 7046184 (0x6b8428)
read(0x4,0x11ffa2d0,0x8)                         = 16 (0x10)
<..>

Note the return value of read -- 2x what we asked for!

I think I just entered the twilight zone.


Drew


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14819.36145.726782.115049>