Compiling Linux into Kernel

2010-03-09 Thread Jason Garrett
I know the usual way of loading the linux module and configuring it in
rc.conf, but can it be compiled directly into the kernel?

If so, what would the line for it look like?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Compiling Linux into Kernel

2010-03-09 Thread Rob Farmer
On Tue, Mar 9, 2010 at 9:35 AM, Jason Garrett kinged...@gmail.com wrote:
 I know the usual way of loading the linux module and configuring it in
 rc.conf, but can it be compiled directly into the kernel?

 If so, what would the line for it look like?

options COMPAT_LINUX

or if you are on amd64

options COMPAT_LINUX32

You can compile in the linprocfs module with
options LINPROCFS

See /usr/src/sys/conf/NOTES and /usr/src/sys/$ARCH/conf/NOTES to find
lists of all available kernel options.

-- 
Rob Farmer

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Compiling Linux into Kernel

2010-03-09 Thread Jason Garrett
On Tue, Mar 9, 2010 at 11:41, Rob Farmer rfar...@predatorlabs.net wrote:

 On Tue, Mar 9, 2010 at 9:35 AM, Jason Garrett kinged...@gmail.com wrote:
  I know the usual way of loading the linux module and configuring it in
  rc.conf, but can it be compiled directly into the kernel?
 
  If so, what would the line for it look like?

 options COMPAT_LINUX

 or if you are on amd64

 options COMPAT_LINUX32

 You can compile in the linprocfs module with
 options LINPROCFS

 See /usr/src/sys/conf/NOTES and /usr/src/sys/$ARCH/conf/NOTES to find
 lists of all available kernel options.

 Thanks! I had read all of the NOTES files last night but it was late and I
must have missed them (doh!)


 --
 Rob Farmer

  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org