Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/compat/darwin



On Fri, 12 Sep 2003, Emmanuel Dreyfus wrote:

> Bill Studenmund <wrstuden%netbsd.org@localhost> wrote:
>
> > Uhm, why?
>
> For the sake of completeness.

Ok.

> > You're assuming that when someone runs mknod in Darwin emulation that they
> > really want a NetBSD device node. That sounds rather suspicious to me. If
> > you want a NetBSD node, just run NetBSD's mknod.
>
> I understand your point of view, but if I don't convert it, a Darwin
> binary will have an inconsistent view of devices between stat(2) and
> mknod(2). I don't know what is worst.

Actually if you rip out the conversion, it will have a consistent view.
:-) More importantly, a darwin app will create nodes that when
NFS-exported make sense to a Darwin client, and all the numbers will line
up.

Take care,

Bill




Home | Main Index | Thread Index | Old Index