Subject: Re: CVS commit: src/sys/compat/darwin
To: Emmanuel Dreyfus <firstname.lastname@example.org>
From: Bill Studenmund <email@example.com>
Date: 09/12/2003 10:35:04
On Fri, 12 Sep 2003, Emmanuel Dreyfus wrote:
> Bill Studenmund <firstname.lastname@example.org> wrote:
> > Uhm, why?
> For the sake of completeness.
> > 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