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



manu%netbsd.org@localhost (Emmanuel Dreyfus) wrote:
>1) Tag the major 187 as reserved in the MI range and only define it on
>i386
>2) Use a MD major for twa, and patch freebsd_sys_mknod() so that 187
>gets translated into the right major
>3) Use a MD major for twa, and patch the tw_cli binary so that the right
>major gets used. 
>
>What's the best way?

Write the following def in sys/conf/majors

 device-major twa char 187 twa

You missed the last argument "twa".

--- MAEKAWA Masahide
--- Use the Source, Luke.
--- Key fingerprint = 6E0A 6417 AFA4 2D8C 04E8  6A8F F5AB 5317 6675 8632



Home | Main Index | Thread Index | Old Index