James Howard wrote:
> We know I ask dumb questions a lot, but this one may not be so dumb.  A
> friend of mine was joking about having a device called /dev/foo which
> would be like /dev/zero, except it would spit out the word "foo" over and
> over again.  Well, we laughed about it, but today, I implemented
> it.  (This was cool since this was the first time I've ever hacked the
> kernel and it worked right...)
[...]

You are right and work is under way to break out this functionality in
a MI driver. Search the mailing list archives for details. A first 
attempt can be found at: 

  http://jeroen.vangelderen.org/FreeBSD/misc_device/

MarkM will soon import a variant of this with his excellent Yarrow
work.

Cheers,
Jeroen
-- 
Jeroen C. van Gelderen          o      _     _         _
[EMAIL PROTECTED]  _o     /\_   _ \\o  (_)\__/o  (_)
                      _< \_   _>(_) (_)/<_    \_| \   _|/' \/
                     (_)>(_) (_)        (_)   (_)    (_)'  _\o_


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to