On Thu, Nov 01, 2001 at 08:29:39PM +0000, lg wrote: > > In short: The data is tranfered into the kernel and dropped there. > my source /usr/src/sys/i386/i386/mem.c [FreeBSD-4.3-RELEASE] > says that data doesnt transfered into kernel.
I was looking into -current. Null and *random have been seprarated in -current. > kernel just do: (when you write to device with major 2, minor 2) > .... > c = iov->iov_len; > .... > iov->iov_base += c; > iov->iov_len -= c; > uio->uio_offset += c; > uio->uio_resid -= c; > .... > [ where iov is uio->uio_iov ] > > so data doesnt go anywhere. Sorry - you are right. No data is copied into the kernel as it would be the job of null_write() to do if needed. -- B.Walter COSMO-Project http://www.cosmo-project.de [EMAIL PROTECTED] Usergroup [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message