Subject: Re: Understanding foo_open, foo_read, etc.
To: None <tech-kern@NetBSD.org>
From: Peter Seebach <seebs@plethora.net>
List: tech-kern
Date: 08/29/2006 18:16:26
In message <44F4C93F.8020806@3am-software.com>, Matt Thomas writes:
>> So, that leads to the obvious question:  How easy is it to clone a device
>> rather than a file in NetBSD?

>Look at bpf. :)

No, I want to go the OTHER way.

bpf does the fdclone thing.

I want to know whether I can do something more similar to the FreeBSD zaptel
code, and omit the fileops interface, and stick with vnode-style operations,
because that would be a lot easier to reconcile with the FreeBSD code.

-s