From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reinhard Karcher Subject: Re: buen dia Date: Mon, 26 Apr 2004 09:24:58 +0200 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <20040426072458.GA19116@amis.berlin.frey.de> References: <408A6CAA.4070702@aknet.ru> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <408A6CAA.4070702@aknet.ru> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-msdos@vger.kernel.org On Sat, Apr 24, 2004 at 05:33:30PM +0400, Stas Sergeev wrote > Hello. > > Enrique Baraibar wrote: > >The question is how can I redirect it so it looks for ipx_route in > >proc/net/ipx instead of /proc/net > This is hardcoded in ipxglt.c - just > change that file and recompile. > This was changed between 2.4 and 2.6 > kernel series, and now dosemu needs > a runtime check. > Michael Karcher wrote a runtimecheck I'm using now. cvs diff returns the following for src/dosext/net/net/ipxglt.c: < open_proc_scan("/proc/net/ipx_route"); --- > if(access("/proc/net/ipx/route",R_OK) == 0) > open_proc_scan("/proc/net/ipx/route"); > else if(access("/proc/net/ipx_route",R_OK) == 0) > open_proc_scan("/proc/net/ipx_route"); > else > return 0; Reinhard