On Tue, 28 Dec 1999, Doug White wrote:

> Hello fellow hackers,
> 
> I've written up a short patch to add a sysctl to control the appending of
> /compat/linux/ to path requests in Linux mode.  We had to get ADSM's Linux
> client working on FreeBSD so we could do backups of our systems.  Luckily
> it comes statically linked so all was needed was this sysctl and some
> creative redirections (there's a bug in the termio ioctl() emulation
> still...) to get it working.
> 
> Patch is attached.  Alternately you can poke
> http://www.freebsd.org/~dwhite/linux.pathmunge.patch. These are against
> -current.  I have a nasty #ifdef hack for 3.3 that requires Makefile
> changes to compile (you want to keep the fixed and unfixed kernel modules
> around on 3.3!).  
> 
> Please let me know if you have comments/suggestions/etc.  If no one whines
> too badly I'll commit these later this week and finally break my
> declaration against making kernel changes. :)

Good idea that...



> 
> Doug White                    |  FreeBSD: The Power to Serve
> [EMAIL PROTECTED]     |  www.FreeBSD.org
> 
> Index: linux_mib.c
> ===================================================================
> RCS file: /usr/local/cvs/src/sys/i386/linux/linux_mib.c,v
> retrieving revision 1.2
> diff -u -r1.2 linux_mib.c
> --- linux_mib.c       1999/08/28 02:16:31     1.2
> +++ linux_mib.c       1999/12/07 06:33:35
> @@ -43,6 +43,7 @@
>       char    pr_osname[LINUX_MAX_UTSNAME];
>       char    pr_osrelease[LINUX_MAX_UTSNAME];
>       int     pr_oss_version;
> +        int     pr_pathmunge;
 <bruce>
white space inconsistancy
 </bruce>



>  };
>  
>  SYSCTL_NODE(_compat, OID_AUTO, linux, CTLFLAG_RW, 0,
> @@ -111,6 +112,28 @@
>           0, 0, linux_sysctl_oss_version, "I",
>           "Linux OSS version");



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to