Subject: Re: Understanding foo_open, foo_read, etc.
To: None <tech-kern@NetBSD.org>
From: Peter Seebach <email@example.com>
Date: 08/29/2006 18:16:26
In message <44F4C93F.firstname.lastname@example.org>, 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.