Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 1999 18:19:25 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        current@freebsd.org
Subject:   Re: SUBMIT: compat.linux.pathmunge
Message-ID:  <Pine.BSF.4.10.9912281814590.4871-100000@InterJet.elischer.org>
In-Reply-To: <Pine.BSF.4.21.9912281453041.94776-100000@resnet.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


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
> dwhite@resnet.uoregon.edu     |  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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9912281814590.4871-100000>