Source-Changes archive

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

Re: workaround for FreeBSD binary that hardcodes a device major (was: Re: CVS commit: src/sys/conf)



On Sun, Sep 24, 2006 at 08:13:46AM +0100, David Laight wrote:
> On Sun, Sep 24, 2006 at 03:13:31PM +1000, matthew green wrote:
> >    2) Use a MD major for twa, and patch freebsd_sys_mknod() so that 187
> >    gets translated into the right major
> 
> What happens when 187 is allocated for a real device as well?
> How can only some of the accesses get translated?

I think the idea is that we only care about attempts to generate a node 
187 from FreeBSD-emulated code. 187 won't be used by anything else on the 
FreeBSD emulation side of things.

I think we're only talking about mapping mknod requests. Everything else 
will be using NetBSD node values.

Take care,

Bill

Attachment: pgpBp1_Q5AvY_.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index