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)
David Laight <david%l8s.co.uk@localhost> 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?
For twa, it seems we can allocate it as MI major 187. The problem is
twe, which has a hardcoded major in the vendor range. The only generic
answer I have to your question is a per-process device remapping system
(see my other message).
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index