Subject: Re: workaround for FreeBSD binary that hardcodes a device major
To: None <firstname.lastname@example.org>
From: MAEKAWA Masahide <email@example.com>
Date: 09/24/2006 15:39:27
firstname.lastname@example.org (Emmanuel Dreyfus) wrote:
>1) Tag the major 187 as reserved in the MI range and only define it on
>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