Bruce Majia <[email protected]> writes:

> On Mon, Sep 28, 2009 at 10:06:43AM +0200, Andrea Gasparini wrote:
>> MaJia spiffera, alle Monday 28 September 2009 circa:
>> > I want to read kernel's implementation but did not found corresponding
>> > implementation to '/dev/zero'.
>> 
>> I guess you'd find it here:
>> /drivers/char/mem.c
>
> You are right. My machine is slow so I did wait a short while for the
> command:
>
> $ grep "/dev/zero" * _-rn
>
> to complete. You just figured out right file.

The Linux Cross Reference is a handy way to search, and it's pretty
fast:

  http://lxr.linux.no/linux

It finds mem.c and some other interesting spots when I search for
/dev/zero.

-- 
  Ed Cashin <[email protected]>
  Find experimental aoe Linux driver patches at
  http://coraid.typepad.com/aoe_linux_proving_grounds/


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to